Home » openejb-3.1.2-src » javax » ejb »

javax.ejb

Sub Packages:

javax.ejb.embeddable    
javax.ejb.spi   The javax.ejb.spi package defines interfaces that are implemented by the EJB container.  

Interfaces:

EJBContext  

The EJBContext interface provides an instance with access to the container-provided runtime context of an enterprise Bean instance.

This interface is extended by the SessionContext and EntityContext interface to provide additional methods specific to the enterprise Bean type.

 
code | html
EJBHome  

The EJBHome interface must be extended by all enterprise Beans' remote home interfaces. 

code | html
EJBLocalHome  

The EJBLocalHome interface must be extended by all enterprise Beans' local home interfaces. 

code | html
EJBLocalObject  

The EJBLocalObject interface must be extended by all enterprise Beans' local interfaces. 

code | html
EJBMetaData  

The EJBMetaData interface allows a client to obtain the enterprise Bean's meta-data information. 

code | html
EJBObject  

The EJBObject interface is extended by all enterprise Bean's remote interface. 

code | html
EnterpriseBean   The EnterpriseBean interface must be implemented by every enterprise Bean class.  code | html
EntityBean   The EntityBean interface is implemented by every entity enterprise Bean class.  code | html
EntityContext  

The EntityContext interface provides an instance with access to the container-provided runtime context of an entity enterprise Bean instance. 

code | html
Handle   The Handle interface is implemented by all EJB object handles.  code | html
HomeHandle   The HomeHandle interface is implemented by all home object handles.  code | html
MessageDrivenBean   The MessageDrivenBean interface is implemented by every message driven enterprise bean class.  code | html
MessageDrivenContext  

The MessageDrivenContext interface provides an instance with access to the container-provided runtime context of a message-driven enterprise bean instance. 

code | html
SessionBean   The SessionBean interface is implemented by every session enterprise Bean class.  code | html
SessionContext   The SessionContext interface provides access to the runtime session context that the container provides for a session enterprise Bean instance.  code | html
SessionSynchronization  

The SessionSynchronization interface allows a session Bean instance to be notified by its container of transaction boundaries.

An session Bean class is not required to implement this interface. 

code | html
TimedObject   The TimedObject interface contains the callback method that is used to deliver timer expiration notifications.  code | html
Timer   The Timer interface contains information about a timer that was created through the EJB Timer Service  code | html
TimerHandle   The TimerHandle interface is implemented by all EJB timer handles.  code | html
TimerService   The TimerService interface provides enterprise bean components with access to the container-provided Timer Service.  code | html

Classes:

ConcurrencyManagementType     code | html
LockType   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
TransactionAttributeType   Enum for the types of TransactionAttributes  code | html
TransactionManagementType   Enums for the TransactionManagement types  code | html
AccessLocalException   An AccessLocalException is thrown to indicate that the caller does not have permission to call the method.  code | html
AccessTimeout   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
ActivationConfigProperty   Annotation for adding properties to messaging bean annotations (i.e. @MessageDriven, @Consumer)  code | html
AfterBegin   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
AfterCompletion   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
ApplicationException   Annotation for identifying an Exception class as an Application Exception, which does not cause a transaction rollback  code | html
AsyncResult   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
Asynchronous   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
BeforeCompletion   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
ConcurrencyManagement   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
ConcurrentAccessException   A ConcurrentAccessException indicates that the client has attempted an invocation on a stateful session bean while another invocation is in progress.  code | html
ConcurrentAccessTimeoutException     code | html
CreateException  

The CreateException exception must be included in the throws clauses of all create(...) methods define in an enterprise Bean's remote interface.

The exception is used as a standard application-level exception to report a failure to create an entity EJB object. 

code | html
DependsOn   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
DuplicateKeyException   The DuplicateKeyException exception is thrown if an entity EJB object cannot be created because an object with the same key already exists.  code | html
EJB     code | html
EJBAccessException   An AccessLocalException is thrown to indicate that the caller does not have permission to call the method.  code | html
EJBException   The EJBException exception is thrown by an enterprise Bean instance to its container to report that the invoked business method or callback method could not be completed because of an unexpected error (e.g.  code | html
EJBTransactionRequiredException   This exception indicates that a request carried a null transaction context, but the target object requires an activate transaction.  code | html
EJBTransactionRolledbackException   This exception indicates that the transaction associated with processing of the request has been rolled back, or marked to roll back.  code | html
EJBs     code | html
FinderException  

The FinderException exception must be included in the throws clause of every findMETHOD(...) method of an entity Bean's home interface.

The exception is used as a standard application-level exception to, report a failure to find the requested EJB object(s).

 
code | html
IllegalLoopbackException     code | html
Init   Annotation to mark a method that will initialize a stateful session  code | html
Local   Bean class annotation that specifies remote interfaces of the Session bean.  code | html
LocalBean   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
LocalHome   Annotation for specifying the local home interface for a bean  code | html
Lock   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
MessageDriven   The MessageDriven annotation specifies that the enterprise bean is a message-driven bean.  code | html
NoMoreTimeoutsException     code | html
NoSuchEJBException   A NoSuchEJBException is thrown if an attempt is made to invoke a method on an object that no longer exists.  code | html
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.

This exception may be thrown by the bean class methods that implement the business methods defined in the bean's component interface; and by the ejbLoad and ejbStore methods.

 
code | html
NoSuchObjectLocalException   A NoSuchObjectLocalException is thrown if an attempt is made to invoke a method on an object that no longer exists.  code | html
ObjectNotFoundException  

The ObjectNotFoundException exception is thrown by a finder method to indicate that the specified EJB object does not exist.

Only the finder methods that are declared to return a single EJB object use this exception. 

code | html
PostActivate   An ejbActivate type of callback marker.  code | html
PrePassivate   An ejbPassivate type of callback marker.  code | html
Remote   Bean class annotation that specifies remote interfaces of the Session bean.  code | html
RemoteHome   Annotation for specifying the remote home interface for a bean  code | html
Remove   Annotation to mark a method that will remove a stateful session on completion  code | html
RemoveException   The RemoveException exception is thrown at an attempt to remove an EJB object when the enterprise Bean or the container does not allow the EJB object to be removed.  code | html
Schedule   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
ScheduleExpression   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
Schedules   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
Singleton   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
Startup   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
Stateful   A stateful session bean must be annotated with the Stateful annotation or denoted in the deployment descriptor as a stateful session bean.  code | html
StatefulTimeout   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
Stateless   A stateless session bean must be annotated with the Stateless annotation or denoted in the deployment descriptor as a stateless session bean.  code | html
Timeout   Marks an ejbTimeout callback method: public void (Timer timer)  code | html
TimerConfig   Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  code | html
TransactionAttribute   The TransactionManagement annotation specifies the transaction management demarcation type of a session bean or message-driven bean.  code | html
TransactionManagement   The TransactionManagement annotation specifies the transaction management demarcation type of a session bean or message-driven bean.  code | html
TransactionRequiredLocalException   This exception indicates that a request carried a null transaction context, but the target object requires an activate transaction.  code | html
TransactionRolledbackLocalException   This exception indicates that the transaction associated with processing of the request has been rolled back, or marked to roll back.  code | html