A B C D E F G H I J M N O P R S T U W

A

AccessLocalException - exception javax.ejb.AccessLocalException.
An AccessLocalException is thrown to indicate that the caller does not have permission to call the method.
AccessLocalException() - Constructor for class javax.ejb.AccessLocalException
Constructs an AccessLocalException with no detail message.
AccessLocalException(String) - Constructor for class javax.ejb.AccessLocalException
Constructs an AccessLocalException with the specified detail message.
AccessLocalException(String, Exception) - Constructor for class javax.ejb.AccessLocalException
Constructs an AccessLocalException with the specified detail message and a nested exception.
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 defined in an enterprise Bean's home interface.
CreateException() - Constructor for class javax.ejb.CreateException
Constructs a CreateException with no detail message.
CreateException(String) - Constructor for class javax.ejb.CreateException
Constructs a 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 a DuplicateKeyException with no detail message.
DuplicateKeyException(String) - Constructor for class javax.ejb.DuplicateKeyException
Constructs a DuplicateKeyException with the specified detail message.

E

ejbActivate() - Method in interface javax.ejb.SessionBean
The activate method is called when the instance is activated from its "passive" state.
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.
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.
EJBException(String, Exception) - Constructor for class javax.ejb.EJBException
Constructs an EJBException that embeds the originally thrown exception with the specified detail message.
EJBHome - interface javax.ejb.EJBHome.
The EJBHome interface must be extended by all enterprise Beans' remote 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.
EJBLocalHome - interface javax.ejb.EJBLocalHome.
The EJBLocalHome interface must be extended by all enterprise Beans' local home interfaces.
EJBLocalObject - interface javax.ejb.EJBLocalObject.
The EJBLocalObject interface must be extended by all enterprise Beans' local interfaces.
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 Beans' remote interfaces.
ejbPassivate() - Method in interface javax.ejb.SessionBean
The passivate method is called before the instance enters the "passive" state.
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.
ejbRemove() - Method in interface javax.ejb.SessionBean
A container invokes this method before it ends the life of the session object.
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.MessageDrivenBean
A container invokes this method before it ends the life of the message-driven 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 remote home interface.
getEJBHome() - Method in interface javax.ejb.HomeHandle
Obtain the home object represented by this handle.
getEJBHome() - Method in interface javax.ejb.EJBObject
Obtain the enterprise Bean's remote home interface.
getEJBHome() - Method in interface javax.ejb.EJBMetaData
Obtain the remote home interface of the enterprise Bean.
getEJBLocalHome() - Method in interface javax.ejb.EJBLocalObject
Obtain the enterprise Bean's local home interface.
getEJBLocalHome() - Method in interface javax.ejb.EJBContext
Obtain the enterprise bean's local home interface.
getEJBLocalObject() - Method in interface javax.ejb.SessionContext
Obtain a reference to the EJB local object that is currently associated with the instance.
getEJBLocalObject() - Method in interface javax.ejb.EntityContext
Obtain a reference to the EJB local object that is currently associated with the instance.
getEJBMetaData() - Method in interface javax.ejb.EJBHome
Obtain the EJBMetaData interface for the enterprise Bean.
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.EntityContext
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 remote home object.
getHomeInterfaceClass() - Method in interface javax.ejb.EJBMetaData
Obtain the Class object for the enterprise Bean's remote home interface.
getMessage() - Method in class javax.ejb.EJBException
Returns the detail message, including the message from the nested exception if there is one.
getPrimaryKey() - Method in interface javax.ejb.EJBLocalObject
Obtain the primary key of the EJB local object.
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.
HandleDelegate - interface javax.ejb.spi.HandleDelegate.
The HandleDelegate interface is implemented by the EJB container.
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(EJBLocalObject) - Method in interface javax.ejb.EJBLocalObject
Test if a given EJB local object is identical to the invoked EJB local object.
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
 
javax.ejb.spi - package javax.ejb.spi
 

M

MessageDrivenBean - interface javax.ejb.MessageDrivenBean.
The MessageDrivenBean interface is implemented by every message-driven enterprise Bean class.
MessageDrivenContext - interface javax.ejb.MessageDrivenContext.
The MessageDrivenContext interface provides access to the runtime message-driven context that the container provides for a message-driven enterprise Bean instance.

N

NoSuchEntityException - exception javax.ejb.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.
NoSuchEntityException() - Constructor for class javax.ejb.NoSuchEntityException
Constructs a NoSuchEntityException with no detail message.
NoSuchEntityException(Exception) - Constructor for class javax.ejb.NoSuchEntityException
Constructs a NoSuchEntityException that embeds the originally thrown exception.
NoSuchEntityException(String) - Constructor for class javax.ejb.NoSuchEntityException
Constructs a NoSuchEntityException with the specified detailed message.
NoSuchObjectLocalException - exception javax.ejb.NoSuchObjectLocalException.
A NoSuchObjectLocalException is thrown if an attempt is made to invoke a method on an object that no longer exists.
NoSuchObjectLocalException() - Constructor for class javax.ejb.NoSuchObjectLocalException
Constructs a NoSuchObjectLocalException with no detail message.
NoSuchObjectLocalException(String) - Constructor for class javax.ejb.NoSuchObjectLocalException
Constructs a NoSuchObjectLocalException with the specified detail message.
NoSuchObjectLocalException(String, Exception) - Constructor for class javax.ejb.NoSuchObjectLocalException
Constructs a NoSuchObjectLocalException with the specified detail message and a nested exception.

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.

P

printStackTrace() - Method in class javax.ejb.EJBException
Prints the composite message to System.err.
printStackTrace(PrintStream) - Method in class javax.ejb.EJBException
Prints the composite message and the embedded stack trace to the specified stream ps.
printStackTrace(PrintWriter) - Method in class javax.ejb.EJBException
Prints the composite message and the embedded stack trace to the specified print writer pw.

R

readEJBHome(ObjectInputStream) - Method in interface javax.ejb.spi.HandleDelegate
Deserialize the EJBHome reference corresponding to a HomeHandle.
readEJBObject(ObjectInputStream) - Method in interface javax.ejb.spi.HandleDelegate
Deserialize the EJBObject reference corresponding to a Handle.
remove() - Method in interface javax.ejb.EJBLocalObject
Remove the EJB local object.
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.EJBLocalHome
Remove an EJB object identified by its primary key.
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.
setMessageDrivenContext(MessageDrivenContext) - Method in interface javax.ejb.MessageDrivenBean
Set the associated message-driven 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.

T

TransactionRequiredLocalException - exception javax.ejb.TransactionRequiredLocalException.
This exception indicates that a request carried a null transaction context, but the target object requires an activate transaction.
TransactionRequiredLocalException() - Constructor for class javax.ejb.TransactionRequiredLocalException
Constructs a TransactionRequiredLocalException with no detail message.
TransactionRequiredLocalException(String) - Constructor for class javax.ejb.TransactionRequiredLocalException
Constructs an TransactionRequiredLocalException with the specified detailed message.
TransactionRolledbackLocalException - exception javax.ejb.TransactionRolledbackLocalException.
This exception indicates that the transaction associated with processing of the request has been rolled back, or marked to roll back.
TransactionRolledbackLocalException() - Constructor for class javax.ejb.TransactionRolledbackLocalException
Constructs a TransactionRolledbackLocalException with no detail message.
TransactionRolledbackLocalException(String) - Constructor for class javax.ejb.TransactionRolledbackLocalException
Constructs a TransactionRolledbackLocalException with the specified detailed message.
TransactionRolledbackLocalException(String, Exception) - Constructor for class javax.ejb.TransactionRolledbackLocalException
Constructs a TransactionRolledbackLocalException with the specified detail message and a nested exception.

U

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

W

writeEJBHome(EJBHome, ObjectOutputStream) - Method in interface javax.ejb.spi.HandleDelegate
Serialize the EJBHome reference corresponding to a HomeHandle.
writeEJBObject(EJBObject, ObjectOutputStream) - Method in interface javax.ejb.spi.HandleDelegate
Serialize the EJBObject reference corresponding to a Handle.

A B C D E F G H I J M N O P R S T U W