Top Description Constructors Methods
jakarta.resource.spi.work

public Class WorkAdapter

extends Object
implements WorkListener
Class Inheritance
All Implemented Interfaces
jakarta.resource.spi.work.WorkListener, java.util.EventListener

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
workAccepted(WorkEvent
A WorkEvent object that provides more information about the accepted Work.
e
)

Implements jakarta.resource.spi.work.WorkListener.workAccepted.

Invoked when a Work instance has been accepted.

public void
workCompleted(WorkEvent
A WorkEvent object that provides more information about the completed Work.
e
)

Implements jakarta.resource.spi.work.WorkListener.workCompleted.

Invoked when a Work instance has completed execution.

public void
workRejected(WorkEvent
A WorkEvent object that provides more information about the rejected Work.
e
)

Implements jakarta.resource.spi.work.WorkListener.workRejected.

Invoked when a Work instance has been rejected.

public void
workStarted(WorkEvent
A WorkEvent object that provides more information about the rejected Work.
e
)

Implements jakarta.resource.spi.work.WorkListener.workStarted.

Invoked when a Work instance has started execution.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

WorkAdapterback to summary
public WorkAdapter()

Method Detail

workAcceptedback to summary
public void workAccepted(WorkEvent e)

Implements jakarta.resource.spi.work.WorkListener.workAccepted.

Invoked when a Work instance has been accepted.

Parameters
e:WorkEvent

Doc from jakarta.resource.spi.work.WorkListener.workAccepted.

A WorkEvent object that provides more information about the accepted Work.

workCompletedback to summary
public void workCompleted(WorkEvent e)

Implements jakarta.resource.spi.work.WorkListener.workCompleted.

Invoked when a Work instance has completed execution.

Parameters
e:WorkEvent

Doc from jakarta.resource.spi.work.WorkListener.workCompleted.

A WorkEvent object that provides more information about the completed Work.

workRejectedback to summary
public void workRejected(WorkEvent e)

Implements jakarta.resource.spi.work.WorkListener.workRejected.

Invoked when a Work instance has been rejected.

Parameters
e:WorkEvent

Doc from jakarta.resource.spi.work.WorkListener.workRejected.

A WorkEvent object that provides more information about the rejected Work.

workStartedback to summary
public void workStarted(WorkEvent e)

Implements jakarta.resource.spi.work.WorkListener.workStarted.

Invoked when a Work instance has started execution. This only means that a thread has been allocated.

Parameters
e:WorkEvent

Doc from jakarta.resource.spi.work.WorkListener.workStarted.

A WorkEvent object that provides more information about the rejected Work.