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.



Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.