| java.lang.Object java.util.EventObject javax.resource.spi.work.WorkEvent
WorkEvent | public class WorkEvent extends EventObject (Code) | | Events that occur on work
version: $Revision: 57196 $ |
WORK_ACCEPTED | final public static int WORK_ACCEPTED(Code) | | The WORK_ACCEPTED value
|
WORK_COMPLETED | final public static int WORK_COMPLETED(Code) | | The WORK_COMPLETED value
|
WORK_REJECTED | final public static int WORK_REJECTED(Code) | | The WORK_REJECTED value
|
WORK_STARTED | final public static int WORK_STARTED(Code) | | The WORK_STARTED value
|
serialVersionUID | final static long serialVersionUID(Code) | | since: 4.0.2 |
WorkEvent | public WorkEvent(Object source, int type, Work work, WorkException e)(Code) | | Create a new WorkEvent
Parameters: source - the source of the event Parameters: type - the type Parameters: work - the work Parameters: e - the exception |
WorkEvent | public WorkEvent(Object source, int type, Work work, WorkException e, long startDuration)(Code) | | Create a new WorkEvent
Parameters: source - the source of the event Parameters: type - the type Parameters: work - the work Parameters: e - the exception Parameters: startDuration - the delay in the start in milliseconds |
getStartDuration | public long getStartDuration()(Code) | | Get the start duration
the start duration |
getType | public int getType()(Code) | | Get the type
the type |
getWork | public Work getWork()(Code) | | Get the work
the work |
|
|