3.5.3 Mapping with cosminexus.xml
The following table describes the correspondence between the HITACHI Entity Bean Property file and cosminexus.xml:
|
HITACHI Entity Bean Property file |
cosminexus.xml |
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Tag name |
Occurrence pattern |
Tag name |
Occurrence pattern |
||||||||||||
|
<hitachi-entity-bean-property> |
Once |
<entity> |
Zero or more times |
||||||||||||
|
-- |
-- |
<ejb-name>#1 |
Once |
||||||||||||
|
<security-identity> |
Zero or once |
<security-identity> |
Zero or once |
||||||||||||
|
<run-as> |
Once |
<run-as> |
Once |
||||||||||||
|
<description> |
Zero or more times |
-- |
-- |
||||||||||||
|
<role-name> |
Once |
-- |
-- |
||||||||||||
|
<user-name> |
Zero or once |
<user-name>#2 |
Once |
||||||||||||
|
<ejb-ref> |
Zero or more times |
-- |
-- |
||||||||||||
|
<description> |
Zero or more times |
-- |
-- |
||||||||||||
|
<ejb-ref-name> |
Once |
-- |
-- |
||||||||||||
|
<ejb-ref-type> |
Once |
-- |
-- |
||||||||||||
|
<home> |
Once |
-- |
-- |
||||||||||||
|
<remote> |
Once |
-- |
-- |
||||||||||||
|
<ejb-link> |
Zero or once |
-- |
-- |
||||||||||||
|
<resource-ref> |
Zero or more times |
<resource-ref> |
Zero or more times |
||||||||||||
|
<description> |
Zero or more times |
-- |
-- |
||||||||||||
|
<res-ref-name> |
Once |
<res-ref-name> |
Once |
||||||||||||
|
<res-type> |
Once |
-- |
-- |
||||||||||||
|
<res-auth> |
Once |
-- |
-- |
||||||||||||
|
<res-sharing-scope> |
Zero or once |
-- |
-- |
||||||||||||
|
<mapped-name> |
Zero or once |
-- |
-- |
||||||||||||
|
<linked-to> |
Zero or once |
<linked-to>#2 |
Once |
||||||||||||
|
<resource-env-ref> |
Zero or more times |
<resource-env-ref> |
Zero or more times |
||||||||||||
|
<description> |
Zero or more times |
-- |
-- |
||||||||||||
|
<resource-env-ref-name> |
Once |
<resource-env-ref-name> |
Once |
||||||||||||
|
<resource-env-ref-type> |
Once |
-- |
-- |
||||||||||||
|
<mapped-name> |
Zero or once |
-- |
-- |
||||||||||||
|
<linked-queue> |
Zero or once |
<linked-queue>#2 |
Once |
||||||||||||
|
<resource-adapter>#3 |
Once |
<resource-adapter> |
Once |
||||||||||||
|
<queue>#3 |
Once |
<queue> |
Once |
||||||||||||
|
<linked-adminobject> |
Zero or once |
<linked-adminobject>#2 |
Once |
||||||||||||
|
<resourceadapter-name>#4 |
Once |
<resourceadapter-name> |
Once |
||||||||||||
|
<adminobject-name>#4 |
Once |
<adminobject-name> |
Once |
||||||||||||
|
<linked-to> |
Zero or once |
<linked-to>#2 |
Once |
||||||||||||
|
<runtime> |
Zero or once |
-- |
-- |
||||||||||||
|
<lookup-name> |
Once |
<lookup-name>#2 |
Zero or once |
||||||||||||
|
<optional-name> |
Zero or once |
<optional-name> |
Zero or once |
||||||||||||
|
<local-optional-name> |
Zero or once |
<local-optional-name> |
Zero or once |
||||||||||||
|
<maximum-instances> |
Once |
<maximum-instances>#2 |
Zero or once |
||||||||||||
|
<pooled-instance> |
Once |
<pooled-instance>#2 |
Zero or once |
||||||||||||
|
<minimum> |
Once |
<minimum>#2 |
Zero or once |
||||||||||||
|
<maximum> |
Once |
<maximum>#2 |
Zero or once |
||||||||||||
|
<caching-model> |
Once |
<caching-model>#2 |
Zero or once |
||||||||||||
|
<entity-timeout> |
Zero or once |
<entity-timeout> |
Zero or once |
||||||||||||
|
<pass-by-reference> |
Zero or once |
<pass-by-reference> |
Zero or once |
||||||||||||
|
<instance-timeout> |
Zero or once |
<instance-timeout> |
Zero or once |
||||||||||||
|
<front-ejb> |
Zero or once |
<front-ejb> |
Zero or once |
||||||||||||
|
<ejb20-cmp> |
Zero or once |
-- |
-- |
||||||||||||
|
<sql-statement> |
Zero or more times |
-- |
-- |
||||||||||||
|
<method> |
Once |
-- |
-- |
||||||||||||
|
<method-intf> |
Zero or once |
-- |
-- |
||||||||||||
|
<method-name> |
Once |
-- |
-- |
||||||||||||
|
<method-params> |
Zero or once |
-- |
-- |
||||||||||||
|
<method-param> |
Zero or more times |
-- |
-- |
||||||||||||
|
<operation> |
Once |
-- |
-- |
||||||||||||
|
<sql> |
Once |
-- |
-- |
||||||||||||
|
<cmp-map> |
Zero or once |
<cmp-map> |
Zero or once |
||||||||||||
|
<datasource-name> |
Once |
<datasource-name> |
Once |
||||||||||||
|
<catalog-name> |
Zero or once |
<catalog-name> |
Zero or once |
||||||||||||
|
<schema-name> |
Zero or once |
<schema-name> |
Zero or once |
||||||||||||
|
<table-name> |
Once |
<table-name> |
Once |
||||||||||||
|
<read-only-access> |
Once |
<read-only-access> |
Once |
||||||||||||
|
<available-transaction-isolations> |
Once |
-- |
-- |
||||||||||||
|
<transaction-isolation> |
Zero or more times |
-- |
-- |
||||||||||||
|
<transaction-isolation> |
Zero or once |
<transaction-isolation> |
Zero or once |
||||||||||||
|
<concurrency-protection> |
Zero or once |
<concurrency-protection> |
Zero or once |
||||||||||||
|
<field-impl> |
Zero or more times |
<field-impl> |
Zero or more times |
||||||||||||
|
<field-name> |
Once |
<field-name> |
Once |
||||||||||||
|
<column-name> |
Once |
<column-name> |
Once |
||||||||||||
|
<finder-impl> |
Zero or more times |
<finder-impl> |
Zero or more times |
||||||||||||
|
<method-name> |
Once |
<method-name> |
Once |
||||||||||||
|
<where-clause> |
Once |
<where-clause> |
Once |
||||||||||||
|
<start-order> |
Zero or once |
<start-order> |
Zero or once |
||||||||||||
|
<ejb-method-observation-timeout> |
Zero or more times |
<ejb-method-observation-timeout> |
Zero or more times |
||||||||||||
|
<method> |
One or more times |
<method> |
One or more times |
||||||||||||
|
<description> |
Zero or once |
-- |
-- |
||||||||||||
|
<method-intf> |
Zero or once |
<method-intf> |
Zero or once |
||||||||||||
|
<method-name> |
Once |
<method-name> |
Once |
||||||||||||
|
<method-params> |
Zero or once |
<method-params> |
Zero or once |
||||||||||||
|
<method-param> |
Zero or more times |
<method-param> |
Zero or more times |
||||||||||||
|
<method-observation-timeout> |
Once |
<method-observation-timeout> |
Once |
||||||||||||
|
<ejb-transaction-timeout> |
Zero or more times |
<ejb-transaction-timeout> |
Zero or more times |
||||||||||||
|
<method> |
One or more times |
<method> |
One or more times |
||||||||||||
|
<description> |
Zero or once |
-- |
-- |
||||||||||||
|
<method-intf> |
Zero or once |
<method-intf> |
Zero or once |
||||||||||||
|
<method-name> |
Once |
<method-name> |
Once |
||||||||||||
|
<method-params> |
Zero or once |
<method-params> |
Zero or once |
||||||||||||
|
<method-param> |
Zero or more times |
<method-param> |
Zero or more times |
||||||||||||
|
<transaction-timeout> |
Once |
<transaction-timeout> |
Once |
||||||||||||
|
-- |
-- |
-- |
-- |
||||||||||||
- Legend:
-
--: No corresponding tag. Alternatively, the description of the occurrence pattern is omitted because the corresponding tag does not exist or the tag is omitted.
- #1
-
This tag corresponds to <ejb-jar>-<enterprise-beans>-<entity>-<ejb-name> in the ejb-jar.xml and does not exist in the property file. This tag is the key for identifying EntityBeans.
- #2
-
The occurrence pattern is different from the property file because only the elements to be customized are coded in cosminexus.xml.
- #3
-
Enter the resource adapter display name in resource-adapter and the queue name in <queue>.
- #4
-
Enter the resource adapter display name in <resourceadapter-name> and the administered object name in <adminobject-name>.