javax.resource.spi.work
Class WorkEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.resource.spi.work.WorkEvent
All Implemented Interfaces:
Serializable

public class WorkEvent
extends EventObject

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $
See Also:
Serialized Form

Field Summary
static int WORK_ACCEPTED
           
static int WORK_COMPLETED
           
static int WORK_REJECTED
           
static int WORK_STARTED
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WorkEvent(Object source, int type, Work work, WorkException exc)
           
WorkEvent(Object source, int type, Work work, WorkException exc, long startDuration)
           
 
Method Summary
 WorkException getException()
           
 long getStartDuration()
           
 int getType()
           
 Work getWork()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WORK_ACCEPTED

public static final int WORK_ACCEPTED
See Also:
Constant Field Values

WORK_REJECTED

public static final int WORK_REJECTED
See Also:
Constant Field Values

WORK_STARTED

public static final int WORK_STARTED
See Also:
Constant Field Values

WORK_COMPLETED

public static final int WORK_COMPLETED
See Also:
Constant Field Values
Constructor Detail

WorkEvent

public WorkEvent(Object source,
                 int type,
                 Work work,
                 WorkException exc)

WorkEvent

public WorkEvent(Object source,
                 int type,
                 Work work,
                 WorkException exc,
                 long startDuration)
Method Detail

getType

public int getType()

getWork

public Work getWork()

getStartDuration

public long getStartDuration()

getException

public WorkException getException()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.