Top Description Interfaces Classes
[default module]

Package javax.resource.spi.work


This package contains APIs for the Work Management, Generic and Security Work Context contracts.

Interface Summary

Modifier and TypeInterface and Description
public interface
DistributableWork

This models a Work instance that would be distributed by a DistributableWorkManager for execution in a remote DistributableWorkManager

public interface
DistributableWorkManager

This interface models a WorkManager that supports distributed execution of Work instances.

public interface
Work

This models a Work instance that would be executed by a WorkManager upon submission.

public interface
WorkContext

This class serves as a standard mechanism for a resource adapter to propagate an imported context from an enterprise information system to an application server.

public interface
WorkContextLifecycleListener

This class models the various events that occur during the processing of the WorkContexts associated with a Work instance.

public interface
WorkContextProvider

This interface specifies the methods a Work instance uses to associate a List of WorkContext instances to be set when the Work instance gets executed by a WorkManager.

public interface
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.

public interface
WorkManager

This interface models a WorkManager which provides a facility to submit Work instances for execution.

Class Summary

Modifier and TypeClass and Description
public class
ExecutionContext

This class models an execution context (transaction, security, etc) with which the Work instance must be executed.

public class
HintsContext

A standard WorkContext that allows a Work instance to propagate quality-of-service (QoS) hints about the Work to the WorkManager.

public class
RetryableWorkRejectedException

A subclass of the WorkRejectedException that indicates that the the service unavailability is transient.

public abstract class
SecurityContext

A standard WorkContext that allows a Work instance to propagate security related context information from an EIS to an application server.

public class
TransactionContext

A standard WorkContext that allows a Work instance to propagate transaction related context information from an EIS to an application server.

public class
WorkAdapter

This class is provided as a convenience for easily creating WorkListener instances by extending this class and overriding only those methods of interest.

public class
WorkCompletedException

This exception is thrown by a WorkManager to indicate that a submitted Work instance has completed with an exception.

public class
WorkContextErrorCodes

This class models the possible error conditions that might occur during associating an WorkContext with a Work instance.

public class
WorkEvent

This class models the various events that occur during the processing of a Work instance.

public class
WorkException

A common base class for all Work processing related exceptions.

public class
WorkRejectedException

This exception is thrown by a WorkManager to indicate that a submitted Work instance has been rejected.