A B C D E F G H I J N O R S U

A

afterBegin() - Method in interface javax.ejb.SessionSynchronization
The afterBegin method notifies a session Bean instance that a new transaction has started, and that the subsequent business methods on the instance will be invoked in the context of the transaction.
afterCompletion(boolean) - Method in interface javax.ejb.SessionSynchronization
The afterCompletion method notifies a session Bean instance that a transaction commit protocol has completed, and tells the instance whether the transaction has been committed or rolled back.

B

beforeCompletion() - Method in interface javax.ejb.SessionSynchronization
The beforeCompletion method notifies a session Bean instance that a transaction is about to be committed.

C

CreateException - exception javax.ejb.CreateException.
The CreateException exception must be included in the throws clauses of all create(...) methods define in an enterprise Bean's remote interface.
CreateException() - Constructor for class javax.ejb.CreateException
Constructs an CreateException with no detail message.
CreateException(String) - Constructor for class javax.ejb.CreateException
Constructs an CreateException with the specified detail message.

D

DuplicateKeyException - exception javax.ejb.DuplicateKeyException.
The DuplicateKeyException exception is thrown if an entity EJB object cannot be created because an object with the same key already exists.
DuplicateKeyException() - Constructor for class javax.ejb.DuplicateKeyException
Constructs an DuplicateKeyException with no detail message.
DuplicateKeyException(String) - Constructor for class javax.ejb.DuplicateKeyException
Constructs an DuplicateKeyException with the specified detail message.

E

ejbActivate() - Method in interface javax.ejb.EntityBean
A container invokes this method when the instance is taken out of the pool of available instances to become associated with a specific EJB object.
ejbActivate() - Method in interface javax.ejb.SessionBean
The activate method is called when the instance is activated from its "passive" state.
EJBContext - interface javax.ejb.EJBContext.
The EJBContext interface provides an instance with access to the container-provided runtime context of an enterprise Bean instance.
EJBException - exception javax.ejb.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.
EJBException() - Constructor for class javax.ejb.EJBException
Constructs an EJBException with no detail message.
EJBException(Exception) - Constructor for class javax.ejb.EJBException
Constructs an EJBException that embeds the originally thrown exception.
EJBException(String) - Constructor for class javax.ejb.EJBException
Constructs an EJBException with the specified detailed message.
EJBHome - interface javax.ejb.EJBHome.
The EJBHome interface is extended by all enterprise Bean's home interfaces.
ejbLoad() - Method in interface javax.ejb.EntityBean
A container invokes this method to instruct the instance to synchronize its state by loading it state from the underlying database.
EJBMetaData - interface javax.ejb.EJBMetaData.
The EJBMetaData interface allows a client to obtain the enterprise Bean's meta-data information.
EJBObject - interface javax.ejb.EJBObject.
The EJBObject interface is extended by all enterprise Bean's remote interface.
ejbPassivate() - Method in interface javax.ejb.EntityBean
A container invokes this method on an instance before the instance becomes disassociated with a specific EJB object.
ejbPassivate() - Method in interface javax.ejb.SessionBean
The passivate method is called before the instance enters the "passive" state.
ejbRemove() - Method in interface javax.ejb.EntityBean
A container invokes this method before it removes the EJB object that is currently associated with the instance.
ejbRemove() - Method in interface javax.ejb.SessionBean
A container invokes this method before it ends the life of the session object.
ejbStore() - Method in interface javax.ejb.EntityBean
A container invokes this method to instruct the instance to synchronize its state by storing it to the underlying database.
EnterpriseBean - interface javax.ejb.EnterpriseBean.
The EnterpriseBean interface must be implemented by every enterprise Bean class.
EntityBean - interface javax.ejb.EntityBean.
The EntityBean interface is implemented by every entity enterprise Bean class.
EntityContext - interface javax.ejb.EntityContext.
The EntityContext interface provides an instance with access to the container-provided runtime context of an entity enterprise Bean instance.

F

FinderException - exception javax.ejb.FinderException.
The FinderException exception must be included in the throws clause of every findMETHOD(...) method of an entity Bean's home interface.
FinderException() - Constructor for class javax.ejb.FinderException
Constructs an FinderException with no detail message.
FinderException(String) - Constructor for class javax.ejb.FinderException
Constructs an FinderException with the specified detail message.

G

getCallerIdentity() - Method in interface javax.ejb.EJBContext
Deprecated. Use Principal getCallerPrincipal() instead.
getCallerPrincipal() - Method in interface javax.ejb.EJBContext
Obtain the java.security.Principal that identifies the caller.
getCausedByException() - Method in class javax.ejb.EJBException
Obtain the exception that caused the EJBException being thrown.
getEJBHome() - Method in interface javax.ejb.EJBContext
Obtain the enterprise bean's home interface.
getEJBHome() - Method in interface javax.ejb.EJBObject
Obtain the enterprise Bean's home interface.
getEJBHome() - Method in interface javax.ejb.EJBMetaData
Obtain the home interface of the enterprise Bean.
getEJBHome() - Method in interface javax.ejb.HomeHandle
Obtain the home object represented by this handle.
getEJBMetaData() - Method in interface javax.ejb.EJBHome
Obtain the EJBMetaData interface for the enterprise Bean.
getEJBObject() - Method in interface javax.ejb.EntityContext
Obtain a reference to the EJB object that is currently associated with the instance.
getEJBObject() - Method in interface javax.ejb.SessionContext
Obtain a reference to the EJB object that is currently associated with the instance.
getEJBObject() - Method in interface javax.ejb.Handle
Obtain the EJB object reference represented by this handle.
getEnvironment() - Method in interface javax.ejb.EJBContext
Deprecated. Use the JNDI naming context java:comp/env to access enterprise bean's environment.
getHandle() - Method in interface javax.ejb.EJBObject
Obtain a handle for the EJB object.
getHomeHandle() - Method in interface javax.ejb.EJBHome
Obtain a handle for the home object.
getHomeInterfaceClass() - Method in interface javax.ejb.EJBMetaData
Obtain the Class object for the enterprise Bean's home interface.
getPrimaryKey() - Method in interface javax.ejb.EntityContext
Obtain the primary key of the EJB object that is currently associated with this instance.
getPrimaryKey() - Method in interface javax.ejb.EJBObject
Obtain the primary key of the EJB object.
getPrimaryKeyClass() - Method in interface javax.ejb.EJBMetaData
Obtain the Class object for the enterprise Bean's primary key class.
getRemoteInterfaceClass() - Method in interface javax.ejb.EJBMetaData
Obtain the Class object for the enterprise Bean's remote interface.
getRollbackOnly() - Method in interface javax.ejb.EJBContext
Test if the transaction has been marked for rollback only.
getUserTransaction() - Method in interface javax.ejb.EJBContext
Obtain the transaction demarcation interface.

H

Handle - interface javax.ejb.Handle.
The Handle interface is implemented by all EJB object handles.
HomeHandle - interface javax.ejb.HomeHandle.
The HomeHandle interface is implemented by all home object handles.

I

isCallerInRole(Identity) - Method in interface javax.ejb.EJBContext
Deprecated. Use boolean isCallerInRole(String roleName) instead.
isCallerInRole(String) - Method in interface javax.ejb.EJBContext
Test if the caller has a given security role.
isIdentical(EJBObject) - Method in interface javax.ejb.EJBObject
Test if a given EJB object is identical to the invoked EJB object.
isSession() - Method in interface javax.ejb.EJBMetaData
Test if the enterprise Bean's type is "session".
isStatelessSession() - Method in interface javax.ejb.EJBMetaData
Test if the enterprise Bean's type is "stateless session".

J

javax.ejb - package javax.ejb
 

N

NoSuchEntityException - exception javax.ejb.NoSuchEntityException.
The NoSuchEntityException 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 the underlying entity was removed from the database.
NoSuchEntityException() - Constructor for class javax.ejb.NoSuchEntityException
Constructs an NoSuchEntityException with no detail message.
NoSuchEntityException(Exception) - Constructor for class javax.ejb.NoSuchEntityException
Constructs an NoSuchEntityException that embeds the originally thrown exception.
NoSuchEntityException(String) - Constructor for class javax.ejb.NoSuchEntityException
Constructs an NoSuchEntityException with the specified detailed message.

O

ObjectNotFoundException - exception javax.ejb.ObjectNotFoundException.
The ObjectNotFoundException exception is thrown by a finder method to indicate that the specified EJB object does not exist.
ObjectNotFoundException() - Constructor for class javax.ejb.ObjectNotFoundException
Constructs an ObjectNotFoundException with no detail message.
ObjectNotFoundException(String) - Constructor for class javax.ejb.ObjectNotFoundException
Constructs an ObjectNotFoundException with the specified detail message.

R

remove() - Method in interface javax.ejb.EJBObject
Remove the EJB object.
remove(Handle) - Method in interface javax.ejb.EJBHome
Remove an EJB object identified by its handle.
remove(Object) - Method in interface javax.ejb.EJBHome
Remove an EJB object identified by its primary key.
RemoveException - exception javax.ejb.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.
RemoveException() - Constructor for class javax.ejb.RemoveException
Constructs an RemoveException with no detail message.
RemoveException(String) - Constructor for class javax.ejb.RemoveException
Constructs an RemoveException with the specified detail message.

S

SessionBean - interface javax.ejb.SessionBean.
The SessionBean interface is implemented by every session enterprise Bean class.
SessionContext - interface javax.ejb.SessionContext.
The SessionContext interface provides access to the runtime session context that the container provides for a session enterprise Bean instance.
SessionSynchronization - interface javax.ejb.SessionSynchronization.
The SessionSynchronization interface allows a session Bean instance to be notified by its container of transaction boundaries.
setEntityContext(EntityContext) - Method in interface javax.ejb.EntityBean
Set the associated entity context.
setRollbackOnly() - Method in interface javax.ejb.EJBContext
Mark the current transaction for rollback.
setSessionContext(SessionContext) - Method in interface javax.ejb.SessionBean
Set the associated session context.

U

unsetEntityContext() - Method in interface javax.ejb.EntityBean
Unset the associated entity context.

A B C D E F G H I J N O R S U