Skip navigation links

Oracle Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


oracle.as.scheduler
Interface EventListener


public interface EventListener

Contract for implementing a listener for request events. An eventlistener can receive events emitted by the system for a request as part its lifecycle.

A client application may specify an event listener class by setting the LISTENER system property, via either metadata or at request submission. The class must provide an empty constructor

The onEvent method will be called when the system emits an event for the submitted request.

See Also:
Event

Method Summary
 void onEvent(Event event)
          Invoked when the system has emitted an event for a request.

 

Method Detail

onEvent

void onEvent(Event event)
             throws java.lang.Exception
Invoked when the system has emitted an event for a request.
Parameters:
event - the event emitted by the system
Throws:
java.lang.Exception - Any checked exception thrown by this method will be caught by the event handling subsystem and a warning message logged.

Skip navigation links

Oracle Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


Copyright © 2008, 2013, Oracle and/or its affiliates. All rights reserved.