Annotation |
xml element(s) |
default value |
||
---|---|---|---|---|
@Stateless |
|
|
||
|
<ejb-name> |
The simple name of the bean class. For org.acme.superfun.WidgetBean the ejb-name will be WidgetBean |
||
|
<description> |
|
||
|
<mapped-name> |
|
||
@Stateful |
|
|
||
|
<ejb-name> |
The simple name of the bean class. For org.acme.superfun.WidgetBean the ejb-name will be WidgetBean |
||
|
<description> |
|
||
|
<mapped-name> |
|
||
@MessageDriven |
|
|
||
|
<ejb-name> |
The simple name of the bean class. For org.acme.superfun.WidgetBean the ejb-name will be WidgetBean |
||
|
<description> |
|
||
|
<mapped-name> |
|
||
|
<messaging-type> |
The interface the bean class implements. When relying upon the default is illegal for the bean to implement more than one interface |
||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="01c3009e-ed22-4a5f-8ae9-e9283abdd86f"><ac:plain-text-body><![CDATA[ |
|
<activation-config> |
|
]]></ac:plain-text-body></ac:structured-macro> |
@ActivationConfigProperty |
<activation-config-property> |
|
||
|
<activation-config-property-name> |
|
||
|
<activation-config-property-value> |
|
||
@RemoteHome |
|
The home is inspected to determine the value of <remote> |
||
@LocalHome |
|
The local-home is inspected to determine the value of <local> |
||
@TransactionManagement |
<transaction-type> |
TransactionManagementType.CONTAINER |
||
@TransactionAttribute |
|
All method default to TransactionAttributeType.REQUIRED |
||
@RolesAllowed |
|
|
||
@PermitAll |
|
All methods default to unchecked |
||
@DenyAll |
<exclude-list> |
|
||
@RunAs |
|
|
||
@DeclareRoles |
<security-role-ref> |
|
||
@Interceptors |
|
|
||
@ExcludeDefaultInterceptors |
|
|
||
@ExcludeClassInterceptors |
|
|
||
@AroundInvoke |
<around-invoke> |
|
||
@PostConstruct |
<post-construct> |
|
||
@PreDestroy |
<pre-destroy> |
|
||
@PrePassivate |
<pre-passivate> |
|
||
@PostActivate |
<post-activate> |
|
||
@Init |
<init-method> |
|
||
@Remove |
<remove-method> |
|
||
|
<retain-if-exception> |
false |
||
@Timeout |
<timeout-method> |
|
||
@ApplicationException |
|
|
||
|
<rollback> |
false |
||
@EJB |
|
|
||
|
|
|
||
|
|
|
||
|
<ejb-link> |
|
||
|
<description> |
|
||
|
<mapped-name> |
|
||
@Resource |
|
|
||
|
|
|
||
|
|
|
||
|
<description> |
|
||
|
<mapped-name> |
|
||
|
<res-sharing-scope> |
true (xml value "Shareable") |
||
|
<res-auth> |
Container |