IT. Expert System.

Java Enterprise Edition (EE)

WorkAdapter


javax.resource.spi.work
Class WorkAdapter

java.lang.Object
  javax.resource.spi.work.WorkAdapter
All Implemented Interfaces:
java.util.EventListener, WorkListener
public class WorkAdapter
extends java.lang.Object
implements WorkListener

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

Version:
1.0
Author:
Ram Jeyaraman

Constructor Summary
WorkAdapter()
           
 
Method Summary
 void workAccepted(WorkEvent e)
          Invoked when a Work instance has been accepted.
 void workCompleted(WorkEvent e)
          Invoked when a Work instance has completed execution.
 void workRejected(WorkEvent e)
          Invoked when a Work instance has been rejected.
 void workStarted(WorkEvent e)
          Invoked when a Work instance has started execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkAdapter

public WorkAdapter()
Method Detail

workAccepted

public void workAccepted(WorkEvent e)
Invoked when a Work instance has been accepted.

Specified by:
workAccepted in interface WorkListener
Parameters:
e - A WorkEvent object that provides more information about the accepted Work.

workRejected

public void workRejected(WorkEvent e)
Invoked when a Work instance has been rejected.

Specified by:
workRejected in interface WorkListener
Parameters:
e - A WorkEvent object that provides more information about the rejected Work.

workStarted

public void workStarted(WorkEvent e)
Invoked when a Work instance has started execution. This only means that a thread has been allocated.

Specified by:
workStarted in interface WorkListener
Parameters:
e - A WorkEvent object that provides more information about the rejected Work.

workCompleted

public void workCompleted(WorkEvent e)
Invoked when a Work instance has completed execution.

Specified by:
workCompleted in interface WorkListener
Parameters:
e - A WorkEvent object that provides more information about the completed Work.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 169 / 158778183. Delta: 0.10442 с