javax.resource.spi.work
Class WorkEvent
java.lang.Object
java.util.EventObject
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
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
WorkEvent
public WorkEvent(Object source,
int type,
Work work,
WorkException exc)
WorkEvent
public WorkEvent(Object source,
int type,
Work work,
WorkException exc,
long startDuration)
getType
public int getType()
getWork
public Work getWork()
getStartDuration
public long getStartDuration()
getException
public WorkException getException()
Copyright © 2006 Apache Software Foundation. All Rights Reserved.