| 
 | Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface WorkEvent
This is sent to a WorkListener as the Work is processed by a WorkManager.
| Field Summary | |
|---|---|
| static int | WORK_ACCEPTEDWork has been accepted | 
| static int | WORK_COMPLETEDWork has completed. | 
| static int | WORK_REJECTEDWork has been rejected. | 
| static int | WORK_STARTEDWork is currently running. | 
| Method Summary | |
|---|---|
|  WorkException | getException()This returns the exception if any in the case of WORK_COMPLETED. | 
|  int | getType()This returns WORK_ACCEPTED etc | 
|  WorkItem | getWorkItem()This returns a WorkItem that represents the Work submitted to a WorkManager. | 
| Field Detail | 
|---|
static final int WORK_ACCEPTED
static final int WORK_REJECTED
static final int WORK_STARTED
static final int WORK_COMPLETED
| Method Detail | 
|---|
int getType()
WorkItem getWorkItem()
WorkException getException()
| 
 | Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||