Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.2)
E26229-03


oracle.as.scheduler
Class ApplicationEvent

java.lang.Object
  extended by oracle.as.scheduler.event.EventImpl
      extended by oracle.as.scheduler.ApplicationEvent

All Implemented Interfaces:
java.io.Serializable, Event

public class ApplicationEvent
extends oracle.as.scheduler.event.EventImpl
implements Event, java.io.Serializable

Application event class.

Application events are published when an application client calls RuntimeService.publishEvent. Application events are used for event based requests that use triggers to define application and/or system events that the request depends on for execution.

See Also:
Trigger, Serialized Form

Field Summary

 

Fields inherited from class oracle.as.scheduler.event.EventImpl
EVENT_HEADER, EVENT_VERSION

 

Fields inherited from interface oracle.as.scheduler.Event
APPLICATION_TYPE, NAME, REQUEST_CANCELLED, REQUEST_ERROR, REQUEST_ERROR_MANUAL_RECOVERY, REQUEST_EXPIRED, REQUEST_FINISHED, REQUEST_INVALID, REQUEST_PAUSED, REQUEST_RETRY, REQUEST_SUCCEEDED, REQUEST_TIMED_OUT, REQUEST_VALID, REQUEST_WARNING, SCHEDULE_END, SYSTEM_TYPE, TYPE, UNLIMITED_TIME_TO_LIVE, WS_ASYNC_CALLBACK

 

Constructor Summary
ApplicationEvent(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> properties, int timeToLive)
          Constructs an application event.

 

Method Summary

 

Methods inherited from class oracle.as.scheduler.event.EventImpl
copyEvent, createEvent, deserialize, getName, getProps, getRequestId, getTimeToLive, getType, serialize, setTimeToLive

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface oracle.as.scheduler.Event
getName, getProps, getRequestId, getTimeToLive, getType

 

Constructor Detail

ApplicationEvent

public ApplicationEvent(java.lang.String name,
                        java.util.Map<java.lang.String,java.lang.Object> properties,
                        int timeToLive)
Constructs an application event. No job request identifer is associated with this event.
Parameters:
name - the name of event. This must be non-null.
properties - the set of application properties associated with the event. If null, an empty Map is created and associated with the event.

If a map element value is non-null, that class must implement Serializable interface.

timeToLive - the time to live, in seconds, for the event to be retained. A value of less than or zero means unlimited.
Throws:
java.lang.NullPointerException - if event name is null.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.2)
E26229-03


Copyright © 2008, 2012 Oracle. All rights reserved.