|
|||||||||
| Home >> All >> javax >> resource >> spi >> [ work overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.resource.spi.work
Class WorkEvent

java.lang.Objectjava.util.EventObject
javax.resource.spi.work.WorkEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class WorkEvent
- extends java.util.EventObject
- Version:
- $Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $
| Field Summary | |
private WorkException |
exception
|
private long |
startDuration
|
private int |
type
|
private Work |
work
|
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(java.lang.Object source,
int type,
Work work,
WorkException exc)
|
|
WorkEvent(java.lang.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
type
private int type
work
private Work work
exception
private WorkException exception
startDuration
private long startDuration
| Constructor Detail |
WorkEvent
public WorkEvent(java.lang.Object source, int type, Work work, WorkException exc)
WorkEvent
public WorkEvent(java.lang.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()
|
|||||||||
| Home >> All >> javax >> resource >> spi >> [ work overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC