| Modifier and Type | Interface and Description |
|---|---|
| public interface | EJBContext
The EJBContext interface provides an instance with access to the container-provided runtime context of an enterprise bean instance. |
| public interface | EJBHome
The EJBHome interface must be extended by all enterprise beans' remote home interfaces. |
| public interface | EJBLocalHome
The EJBLocalHome interface must be extended by all enterprise beans' local home interfaces. |
| public interface | EJBLocalObject
The EJBLocalObject interface must be extended by all enterprise beans' local interfaces. |
| public interface | EJBMetaData
The EJBMetaData interface allows a client to obtain the enterprise bean's meta-data information. |
| public interface | EJBObject
The EJBObject interface is extended by all enterprise beans' remote interfaces. |
| public interface | EnterpriseBean
The EnterpriseBean interface is a common superinterface for the SessionBean, EntityBean and MessageDrivenBean interfaces. |
| public interface | EntityBean
The EntityBean interface is implemented by every entity bean class. |
| public interface | EntityContext
The EntityContext interface provides an instance with access to the container-provided runtime context of an entity bean instance. |
| public interface | Handle
The Handle interface is implemented by all EJB object handles. |
| public interface | HomeHandle
The HomeHandle interface is implemented by all home object handles. |
| public interface | MessageDrivenBean
The MessageDrivenBean interface defines methods that the EJB container uses to notify a message driven bean instance of the instance's life cycle events. |
| public interface | MessageDrivenContext
The MessageDrivenContext interface provides access to the runtime message-driven context that the container provides for a message-driven bean instance. |
| public interface | SessionBean
The SessionBean interface defines methods that the EJB container uses to notify a session bean instance of the instance's life cycle events. |
| public interface | SessionContext
The SessionContext interface provides access to the runtime session context that the container provides for a session bean instance. |
| public interface | SessionSynchronization
The SessionSynchronization interface allows a stateful session bean instance to be notified by its container of transaction boundaries. |
| public interface | TimedObject
The |
| public interface | Timer
The |
| public interface | TimerHandle
The TimerHandle interface allows the bean provider to obtain a serializable timer handle that may be persisted. |
| public interface | TimerService
The TimerService interface provides enterprise bean components with access to the container-provided Timer Service. |
| Modifier and Type | Annotation and Description |
|---|---|
| public @interface | AccessTimeout
Specifies the amount of time in a given time unit that a concurrent access attempt should block before timing out. |
| public @interface | ActivationConfigProperty
Used to provide information to the deployer about the configuration of a message driven bean in its operational environment. |
| public @interface | AfterBegin
Designate a stateful session bean method to receive the after begin session synchronization callback. |
| public @interface | AfterCompletion
Designate a stateful session bean method to receive the after completion session synchronization callback. |
| public @interface | ApplicationException
Applied to an exception to denote that it is an application exception and should be reported to the client directly (i.e., unwrapped). |
| public @interface | Asynchronous
Used to mark a session bean method as an asynchronous method or to designate all business methods of a session bean class as asynchronous. |
| public @interface | BeforeCompletion
Designate a stateful session bean method to receive the before completion session synchronization callback. |
| public @interface | ConcurrencyManagement
Declares a singleton session bean's concurrency management type. |
| public @interface | DependsOn
Used to express an initialization dependency between singleton components. |
| public @interface | EJB
Indicates a dependency on the local, no-interface, or remote view of an Enterprise JavaBean. |
| public @interface | EJBs
Declares multiple |
| public @interface | Init
Designates a method of a session bean that corresponds to a
|
| public @interface | Local
Declares the local business interface(s) for a session bean. |
| public @interface | LocalBean
Designates that a session bean exposes a no-interface view. |
| public @interface | LocalHome
Declares the local home or adapted local home interface for a session bean. |
| public @interface | Lock
Declares a concurrency lock for a singleton session bean with container managed concurrency. |
| public @interface | MessageDriven
Component-defining annotation for a message driven bean. |
| public @interface | PostActivate
Designates a method to receive a callback after a stateful session bean has been activated. |
| public @interface | PrePassivate
Designates a method to receive a callback before a stateful session bean is passivated. |
| public @interface | Remote
Declares the remote business interface(s) for a session bean. |
| public @interface | RemoteHome
Declares the remote home interface or adapted remote home interface for a session bean. |
| public @interface | Remove
Applied to a business method of a stateful session bean class to indicate to the container that the stateful session bean is to be removed by the container after completion of the method. |
| public @interface | Schedule
Schedule a timer for automatic creation with a timeout schedule based on a cron-like time expression. |
| public @interface | Schedules
Applied to a timer callback method to schedule multiple calendar-based timers for the method. |
| public @interface | Singleton
Component-defining annotation for a singleton session bean. |
| public @interface | Startup
Mark a singleton bean for eager initialization during the application startup sequence. |
| public @interface | Stateful
Component-defining annotation for a stateful session bean. |
| public @interface | StatefulTimeout
Specifies the amount of time a stateful session bean can be idle (not receive any client invocations) before it is eligible for removal by the container.</value> |
| public @interface | Stateless
Component-defining annotation for a stateless session bean. |
| public @interface | Timeout
Designates a method on a stateless session bean class, a singleton session bean class, a message driven bean class, or an EJB 2.x entity bean class that should receive EJB timer expirations for that bean. |
| public @interface | TransactionAttribute
The |
| public @interface | TransactionManagement
Specifies whether a session bean or message driven bean has container managed transactions or bean managed transactions. |
| Modifier and Type | Class and Description |
|---|---|
| public class | AccessLocalException
An AccessLocalException is thrown to indicate that the caller does not have permission to call the method. |
| public class | AsyncResult<V>
Wraps the result of an asynchronous method call as a |
| public class | ConcurrentAccessException
A ConcurrentAccessException indicates that the client has attempted an invocation on a stateful session bean or singleton bean while another invocation is in progress and such concurrent access is not allowed. |
| public class | ConcurrentAccessTimeoutException
This exception indicates that an attempt to concurrently access a stateful session or singleton bean method resulted in a timeout. |
| public class | CreateException
The CreateException exception must be included in the throws clauses of all create methods defined in an enterprise bean's home or local home interface. |
| public class | DuplicateKeyException
The DuplicateKeyException exception is thrown if an entity EJB object or EJB local object cannot be created because an object with the same key already exists. |
| public class | EJBAccessException
This exception indicates that client access to a business method was denied. |
| public class | EJBException
The EJBException is thrown to report that the invoked business method or callback method could not be completed because of an unexpected error (e.g. the instance failed to open a database connection). |
| public class | EJBTransactionRequiredException
This exception indicates that a request carried a null transaction context, but the target object requires an active transaction. |
| public class | EJBTransactionRolledbackException
This exception is thrown to a remote client to indicate that the transaction associated with processing of the request has been rolled back, or marked to roll back. |
| public class | FinderException
The FinderException exception must be included in the throws clause of every finder method of an entity bean's home or local home interface. |
| public class | IllegalLoopbackException
This exception indicates that an attempt was made to perform an illegal loopback invocation. |
| public class | NoMoreTimeoutsException
This exception indicates that a calendar-based timer will not result in any more timeouts. |
| public class | NoSuchEJBException
A NoSuchEJBException is thrown if an attempt is made to invoke a business method on a stateful session or singleton object that no longer exists. |
| public class | NoSuchEntityException
The NoSuchEntityException exception is thrown by an entity bean instance to its container to report that the invoked business method or callback method could not be completed because of the underlying entity was removed from the database. |
| public class | NoSuchObjectLocalException
A NoSuchObjectLocalException is thrown if an attempt is made to invoke a method on a local object (local EJB object or timer) that no longer exists. |
| public class | ObjectNotFoundException
The ObjectNotFoundException exception is thrown by a finder or select method to indicate that the specified EJB object or local object does not exist. |
| public class | RemoveException
The RemoveException is thrown at an attempt to remove an EJB object or local EJB object when the enterprise bean or the container does not allow the EJB object to be removed. |
| public class | ScheduleExpression
A calendar-based timeout expression for an enterprise bean timer. |
| public class | TimerConfig
TimerConfig is used to specify additional timer configuration settings during timer creation. |
| public class | TransactionRequiredLocalException
This exception is thrown to a local client to indicate that a request carried a null transaction context, but the target object requires an active transaction. |
| public class | TransactionRolledbackLocalException
This exception is thrown to a local client to indicate that the transaction associated with processing of the request has been rolled back, or marked to roll back. |
| Modifier and Type | Enum and Description |
|---|---|
| public enum | ConcurrencyManagementType
Used to specify the value of the |
| public enum | LockType
Concurrency lock type for singleton beans with container-managed concurrency. |
| public enum | TransactionAttributeType
The enum |
| public enum | TransactionManagementType
The enum |