Chapter 13 Working with Java


EJB 3.0 operation properties

EJB operation 3.0 property sheets contain all the standard operation tabs along with the EJB3 tab, the properties of which are listed below:

Property Description
Initialize Method Specifies an initialize method.

Generated as a @Init annotation.
Remove Method Specifies an remove method.

Generated as a @Remove annotation.
Post-Construct Specifies a post construct method.

Generated as a @PostConstruct annotation.
Post-Activate Specifies a post activate method.

Generated as a @PostActivate annotation.
Pre-Passivate Specifies a pre passivate method.

Generated as a @PrePassivate annotation.
Pre-Destroy Specifies a pre destroy method.

Generated as a @PreDestroy annotation.
Interceptor Method Specifies an interceptor method.

Generated as a @AroundInvoke annotation.
Timeout Method Specifies a timeout method.

Generated as a @Timeout annotation.
Exclude Default Interceptors Excludes invocation of default interceptor for the method.

Generated as a @ExcludeDefaultInterceptors annotation.
Exclude Class Interceptors Excludes invocation of class-level interceptors for the method.

Generated as a @ExcludeClassInterceptors annotation.
Transaction Attribute Type Specifies a Transaction Attribute Type for the method.

Generated as a @TransactionAttribute annotation.
Permit All Roles Specifies that all roles are permitted for the method.

Generated as a @PermitAll annotation.
Deny All Roles Specifies that method may not be invoked by any security role.

Generated as a @DenyAll annotation.
Roles Allowed Specifies the roles allowed for the method.

Generated as a @RolesAllowed annotation.

 


Copyright (C) 2007. Sybase Inc. All rights reserved.