|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个软件包 下一个软件包 | 框架 无框架 |
Package javax.ejb
The javax.ejb package contains the Enterprise JavaBeans classes and interfaces that define the contracts between the enterprise bean and its clients and between the enterprise bean and the EJB container.参阅: 详细描述
接口摘要 | |
---|---|
EJBContext | The EJBContext interface provides an instance with access to the container-provided runtime context of an enterprise Bean instance. |
EJBHome | The EJBHome interface must be extended by all enterprise Beans' remote home interfaces. |
EJBLocalHome | The EJBLocalHome interface must be extended by all enterprise Beans' local home interfaces. |
EJBLocalObject | The EJBLocalObject interface must be extended by all enterprise Beans' local interfaces. |
EJBMetaData | The EJBMetaData interface allows a client to obtain the enterprise Bean's meta-data information. |
EJBObject | The EJBObject interface is extended by all enterprise Beans' remote interfaces. |
EnterpriseBean | The EnterpriseBean interface must be implemented by every enterprise Bean class. |
EntityBean | The EntityBean interface is implemented by every entity enterprise Bean class. |
EntityContext | The EntityContext interface provides an instance with access to the container-provided runtime context of an entity enterprise Bean instance. |
Handle | The Handle interface is implemented by all EJB object handles. |
HomeHandle | The HomeHandle interface is implemented by all home object handles. |
MessageDrivenBean | The MessageDrivenBean interface is implemented by every message-driven enterprise Bean class. |
MessageDrivenContext | The MessageDrivenContext interface provides access to the runtime message-driven context that the container provides for a message-driven enterprise Bean instance. |
SessionBean | The SessionBean interface is implemented by every session enterprise Bean class. |
SessionContext | The SessionContext interface provides access to the runtime session context that the container provides for a session enterprise Bean instance. |
SessionSynchronization | The SessionSynchronization interface allows a session Bean instance to be notified by its container of transaction boundaries. |
TimedObject | The TimedObject interface contains the callback method that is used to deliver timer expiration notifications. |
Timer | The Timer interface contains information about a timer that was created through the EJB Timer Service. |
TimerHandle | The TimerHandle interface is implemented by all EJB timer handles. |
TimerService | The TimerService interface provides enterprise bean components with access to the container-provided Timer Service. |
Enum Summary | |
---|---|
TransactionAttributeType | |
TransactionManagementType |
Exception Summary | |
---|---|
AccessLocalException | An AccessLocalException is thrown to indicate that the caller does not have permission to call the method. |
ConcurrentAccessException | A ConcurrentAccessException indicates that the client has attempted an invocation on a stateful session bean while another invocation is in progress. |
CreateException | The CreateException exception must be included in the throws clauses of all create methods defined in an enterprise Bean's home interface. |
DuplicateKeyException | The DuplicateKeyException exception is thrown if an entity EJB object cannot be created because an object with the same key already exists. |
EJBAccessException | This exception indicates that client access to a business method was denied. |
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. the instance failed to open a database connection). |
EJBTransactionRequiredException | This exception indicates that a request carried a null transaction context, but the target object requires an active transaction. |
EJBTransactionRolledbackException | This exception indicates that the transaction associated with processing of the request has been rolled back, or marked to roll back. |
FinderException | The FinderException exception must be included in the throws clause of every findMETHOD(...) method of an entity Bean's home interface. |
NoSuchEJBException | A NoSuchEJBException is thrown if an attempt is made to invoke a method on an object that no longer exists. |
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. |
NoSuchObjectLocalException | A NoSuchObjectLocalException is thrown if an attempt is made to invoke a method on an object that no longer exists. |
ObjectNotFoundException | The ObjectNotFoundException exception is thrown by a finder method to indicate that the specified EJB object does not exist. |
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. |
TransactionRequiredLocalException | This exception indicates that a request carried a null transaction context, but the target object requires an active transaction. |
TransactionRolledbackLocalException | This exception indicates that the transaction associated with processing of the request has been rolled back, or marked to roll back. |
Annotation Types Summary | |
---|---|
ActivationConfigProperty | |
ApplicationException | Applied to an exception to denote that it is an application exception and should be reported to the client directly(i.e., unwrapped). |
EJB | Indicates a dependency on the local or remote view of an Enterprise Java Bean. |
EJBs | Declares multiple TYPE-level @EJB annotations. |
Init | Designates a method of a session bean that corresponds to the
create |
Local | When used on the bean class, declares the local business interface(s) for a session bean. |
LocalHome | Declares the Local Home or adapted Local Home interface for a session bean. |
MessageDriven | Component-defining annotation for a message driven bean. |
PostActivate | Designates a method to receive a callback after a stateful session bean has been activated. |
PrePassivate | Designates a method to receive a callback before a stateful session bean is passivated. |
Remote | Declares the remote business interface(s) for a session bean. |
RemoteHome | Declares the Remote Home or adapted Remote Home interface for a session bean. |
Remove | Applied to a business method of a stateful session bean class. |
Stateful | Component-defining annotation for a stateful session bean. |
Stateless | Component-defining annotation for a stateless session bean. |
Timeout | Designates a method on a stateless session bean class or message driven bean class that should receive EJB timer expirations for that bean. |
TransactionAttribute | When applied at the TYPE-level, designates the default transaction attribute for all business methods of the session or message driven bean. |
TransactionManagement | Declares whether a session bean or message driven bean has container managed transactions or bean managed transactions. |
Package javax.ejb Description
The javax.ejb package contains the Enterprise JavaBeans classes and interfaces that define the contracts between the enterprise bean and its clients and between the enterprise bean and the EJB container.
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个软件包 下一个软件包 | 框架 无框架 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.