|
Oracle Content Services Web Services Java API Reference 10g Release 1 (10.1.2.3) B25584-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Processes event occurrences and timer expirations.
Implementations are server plug-ins that perform custom processing of registered events or periodic processing at specified time intervals.
Method Summary | |
void |
handleDispose(EventHandlerContext context) Called when the EventHandler instance will no longer be used. |
void |
handleEventPosted(EventHandlerContext context) Called when at least one registered event is posted. |
void |
handleInitialize(EventHandlerContext context) Initializes this EventHandler. |
void |
handleTimerExpired(EventHandlerContext context) Called when the timer for this EventHandler expires. |
Method Detail |
public void handleInitialize(EventHandlerContext context) throws java.lang.Exception
Called immediately after construction and before any of the other methods in the interface are invoked.
context
- the EventHandlerContext to use for processingjava.lang.Exception
- if the operation failspublic void handleEventPosted(EventHandlerContext context) throws java.lang.Exception
context
- the EventHandlerContext to use for processingjava.lang.Exception
- if the operation failspublic void handleTimerExpired(EventHandlerContext context) throws java.lang.Exception
context
- the EventHandlerContext to use for processingjava.lang.Exception
- if the operation failspublic void handleDispose(EventHandlerContext context) throws java.lang.Exception
The instance should release any resources it is holding that would not be automatically released as part of normal garbage collection of the object.
context
- the EventHandlerContext to use for processingjava.lang.Exception
- if the operation fails
|
Oracle Content Services Web Services Java API Reference 10g Release 1 (10.1.2.3) B25584-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |