javax.resource.spi.work (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


Package javax.resource.spi.work

This package contains APIs for the work management contract.

参阅:           详细描述

接口摘要
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.
 

类摘要
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

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.