站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v5.0 API Specifications

javax.resource.spi.work (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications

Java EE 5 SDK

Package javax.resource.spi.work

This package contains APIs for the work management contract.

See:
          Description

Interface Summary
Work This models a Work instance that would be executed by a WorkManager upon submission.
WorkListener This models a WorkListener instance which would be notified by the WorkManager when the various Work processing events (work accepted, work rejected, work started, work completed) occur.
WorkManager This interface models a WorkManager which provides a facility to submit Work instances for execution.
 

Class Summary
ExecutionContext This class models an execution context (transaction, security, etc) with which the Work instance must be executed.
WorkAdapter This class is provided as a convenience for easily creating WorkListener instances by extending this class and overriding only those methods of interest.
WorkEvent This class models the various events that occur during the processing of a Work instance.
 

Exception Summary
WorkCompletedException This exception is thrown by a WorkManager to indicate that a submitted Work instance has completed with an exception.
WorkException A common base class for all Work processing related exceptions.
WorkRejectedException This exception is thrown by a WorkManager to indicate that a submitted Work instance has been rejected.
 

Package javax.resource.spi.work Description

This package contains APIs for the work management contract.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.