|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
| 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 | |
|---|---|
abstract WorkException |
getException()This returns the exception if any in the case of WORK_COMPLETED. |
abstract int |
getType()This returns WORK_ACCEPTED etc |
abstract 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, 2015, 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.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||