The following table describes the correspondence between the HITACHI Session Bean Property file and the Deployment Descriptor:
HITACHI Session Bean Property file | Deployment Descriptor | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Tag name | Occurrence pattern | Tag name | Occurrence pattern | |||||||||
<hitachi-session-bean-property> | Once | <ejb-jar> | Once | |||||||||
-- | -- | <description> | Zero or once | |||||||||
-- | -- | <display-name> | Zero or once | |||||||||
-- | -- | <icon> | Zero or more times | |||||||||
-- | -- | <small-icon> | Zero or once | |||||||||
-- | -- | <large-icon> | Zero or once | |||||||||
-- | -- | <enterprise-beans> | Once | |||||||||
-- | -- | <session> | One or more times | |||||||||
<description> | Zero or more times | <description> | Zero or more times | |||||||||
<display-name> | One or more times | <display-name> | Zero or more times | |||||||||
<icon> | Zero or more times | <icon> | Zero or more times | |||||||||
<small-icon> | Zero or once | <small-icon> | Zero or once | |||||||||
<large-icon> | Zero or once | <large-icon> | Zero or once | |||||||||
-- | -- | <ejb-name> | Once | |||||||||
<mapped-name> | Zero or once | -- | -- | |||||||||
-- | -- | <home> | Zero or once | |||||||||
-- | -- | <remote> | Zero or once | |||||||||
<business-local> | Zero or more times | -- | -- | |||||||||
<business-remote> | Zero or more times | -- | -- | |||||||||
-- | -- | <ejb-class> | Once | |||||||||
<session-type> | Once | <session-type> | Zero or once | |||||||||
<around-invoke> | Zero or more times | -- | -- | |||||||||
<class> | Zero or once | -- | -- | |||||||||
<method-name> | Once | -- | -- | |||||||||
<post-construct> | Zero or more times | -- | -- | |||||||||
<lifecycle-callback-class> | Zero or once | -- | -- | |||||||||
<lifecycle-callback-method> | Once | -- | -- | |||||||||
<pre-destroy> | Zero or more times | -- | -- | |||||||||
<lifecycle-callback-class> | Zero or once | -- | -- | |||||||||
<lifecycle-callback-method> | Once | -- | -- | |||||||||
<post-activate> | Zero or more times | -- | -- | |||||||||
<lifecycle-callback-class> | Zero or once | -- | -- | |||||||||
<lifecycle-callback-method> | Once | -- | -- | |||||||||
<pre-passivate> | Zero or more times | -- | ||||||||||
<lifecycle-callback-class> | Zero or once | -- | -- | |||||||||
<lifecycle-callback-method> | Once | -- | -- | |||||||||
<timeout-method> | Zero or once | -- | -- | |||||||||
<method-name> | Once | -- | -- | |||||||||
<method-params> | Zero or once | -- | -- | |||||||||
<method-param> | Zero or more times | -- | -- | |||||||||
<init-method> | Zero or more times | -- | -- | |||||||||
<create-method> | Once | -- | -- | |||||||||
<method-name> | Once | -- | -- | |||||||||
<method-params> | Zero or once | -- | -- | |||||||||
<method-param> | Zero or more times | -- | -- | |||||||||
<bean-method> | Once | -- | -- | |||||||||
<method-name> | Once | -- | -- | |||||||||
<method-params> | Zero or once | -- | -- | |||||||||
<method-param> | Zero or more times | -- | -- | |||||||||
<remove-method> | Zero or more times | -- | -- | |||||||||
<bean-method> | Once | -- | -- | |||||||||
<method-name> | Once | -- | -- | |||||||||
<method-params> | Zero or once | -- | -- | |||||||||
<method-param> | Zero or more times | -- | -- | |||||||||
<retain-if-exception> | Zero or once | -- | -- | |||||||||
<transaction-type> | Once | <transaction-type> | Once | |||||||||
<env-entry> | Zero or more times | <env-entry> | Zero or more times | |||||||||
<description> | Zero or more times | <description> | Zero or more times | |||||||||
<env-entry-name> | Once | <env-entry-name> | Once | |||||||||
<env-entry-type> | Once | <env-entry-type> | Once | |||||||||
<env-entry-value> | Once | <env-entry-value> | Zero or once | |||||||||
<injection-target> | Zero or more times | -- | -- | |||||||||
<injection-target-class> | Once | -- | -- | |||||||||
<injection-target-name> | Once | -- | -- | |||||||||
<ejb-ref> | Zero or more times | <ejb-ref> | Zero or more times | |||||||||
<description> | Zero or more times | <description> | Zero or more times | |||||||||
<ejb-ref-name> | Once | <ejb-ref-name> | Once | |||||||||
<ejb-ref-type> | Once | <ejb-ref-type> | Once | |||||||||
<home> | Once | <home> | Once | |||||||||
<remote> | Once | <remote> | Once | |||||||||
<ejb-link> | Zero or once | <ejb-link> | Zero or once | |||||||||
<injection-target> | Zero or more times | -- | -- | |||||||||
<injection-target-class> | Once | -- | -- | |||||||||
<injection-target-name> | Once | -- | -- | |||||||||
<ejb-local-ref> | Zero or more times | <ejb-local-ref> | Zero or more times | |||||||||
<description> | Zero or more times | <description> | Zero or more times | |||||||||
<ejb-ref-name> | Once | <ejb-ref-name> | Once | |||||||||
<ejb-ref-type> | Once | <ejb-ref-type> | Once | |||||||||
<local-home> | Once | <local-home> | Once | |||||||||
<local> | Once | <local> | Once | |||||||||
<ejb-link> | Zero or once | <ejb-link> | Zero or once | |||||||||
<injection-target> | Zero or more times | -- | -- | |||||||||
<injection-target-class> | Once | -- | -- | |||||||||
<injection-target-name> | Once | -- | -- | |||||||||
<security-role-ref> | Zero or more times | <security-role-ref> | Zero or more times | |||||||||
<description> | Zero or more times | <description> | Zero or more times | |||||||||
<role-name> | Once | <role-name> | Once | |||||||||
<role-link> | Zero or once | <role-link> | Zero or once | |||||||||
<security-identity> | Zero or once | <security-identity> | Zero or once | |||||||||
<description> | Zero or more times | <description> | Zero or more times | |||||||||
<use-caller-identity> | Once#1 | <use-caller-identity> | Once#1 | |||||||||
<run-as> | Once#1 | <run-as> | Once#1 | |||||||||
<description> | Zero or more times | <description> | Zero or more times | |||||||||
<role-name> | Once | <role-name> | Once | |||||||||
<user-name> | Once | -- | -- | |||||||||
<resource-ref> | Zero or more times | <resource-ref> | Zero or more times | |||||||||
<description> | Zero or more times | <description> | Zero or more times | |||||||||
<res-ref-name> | Once | <res-ref-name> | Once | |||||||||
<res-type> | Once | <res-type> | Once | |||||||||
<res-auth> | Once | <res-auth> | Once | |||||||||
<res-sharing-scope> | Zero or once | <res-sharing-scope> | Zero or once | |||||||||
<mapped-name> | Zero or once | -- | -- | |||||||||
<injection-target> | Zero or more times | -- | -- | |||||||||
<injection-target-class> | Once | -- | -- | |||||||||
<injection-target-name> | Once | -- | -- | |||||||||
<linked-to> | Zero or once | -- | -- | |||||||||
<resource-env-ref> | Zero or more times | <resource-env-ref> | Zero or more times | |||||||||
<description> | Zero or more times | <description> | Zero or more times | |||||||||
<resource-env-ref-name> | Once | <resource-env-ref-name> | Once | |||||||||
<resource-env-ref-type> | Once | <resource-env-ref-type> | Once | |||||||||
<mapped-name> | Zero or once | -- | -- | |||||||||
<injection-target> | Zero or more times | -- | -- | |||||||||
<injection-target-class> | Once | -- | -- | |||||||||
<injection-target-name> | Once | -- | -- | |||||||||
<linked-queue> | Zero or once | -- | -- | |||||||||
<resource-adapter> | Once | -- | -- | |||||||||
<queue> | Once | -- | -- | |||||||||
<linked-adminobject> | Zero or once | -- | -- | |||||||||
<resourceadapter-name> | Once | -- | -- | |||||||||
<adminobject-name> | Once | -- | -- | |||||||||
(Omitted) | -- | (Omitted) | -- | |||||||||
-- | -- | <assembly-descriptor> | Zero or once | |||||||||
-- | -- | <security-role> | Zero or more times | |||||||||
-- | -- | <description> | Zero or more times | |||||||||
-- | -- | <role-name> | Once | |||||||||
<method-permission> | Zero or more times | <method-permission> | Zero or more times | |||||||||
<description> | Zero or more times | <description> | Zero or more times | |||||||||
<role-name>#2 | One or more times | <role-name>#2 | One or more times | |||||||||
<unchecked>#2 | Once | <unchecked>#2 | Once | |||||||||
<method> | One or more times | <method> | One or more times | |||||||||
<description> | Zero or more times | <description> | Zero or more times | |||||||||
-- | -- | <ejb-name> | 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 | |||||||||
<container-transaction> | Zero or more times | <container-transaction> | Zero or more times | |||||||||
<description> | Zero or more times | <description> | Zero or more times | |||||||||
<method> | One or more times | <method> | One or more times | |||||||||
<description> | Zero or more times | <description> | Zero or more times | |||||||||
-- | -- | <ejb-name> | 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 | |||||||||
<trans-attribute> | Once | <trans-attribute> | Once | |||||||||
<exclude-list> | Zero or once | <exclude-list> | Zero or once | |||||||||
<description> | Zero or more times | <description> | Zero or more times | |||||||||
<method> | One or more times | <method> | One or more times | |||||||||
<description> | Zero or more times | <description> | Zero or more times | |||||||||
-- | -- | <ejb-name> | 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 | |||||||||
-- | -- | <ejb-client-jar> | Zero or once | |||||||||
<runtime> | Zero or once | -- | -- | |||||||||
(Omitted) | -- | -- | -- |