com.essbase.eas.framework.server.defs.event
Class ServerEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.essbase.eas.framework.defs.event.FrameworkEvent
          extended bycom.essbase.eas.framework.server.defs.event.ServerEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CommandEvent, ExceptionEvent, WorkEvent

public abstract class ServerEvent
extends FrameworkEvent

Base class for all server events.

Since:
6.5.2
Version:
6.5.2, 10/01/02
Author:
Hank Cox, Hyperion Solutions, Painted Word
See Also:
Serialized Form

Field Summary
protected  ServiceContext serviceContext
          the service context that this event is associated with.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ServerEvent(java.lang.Object source, ServiceContext context)
          Constructs a ServerEvent object with the requested source object and service context object.
ServerEvent(java.lang.Object source, ServiceContext context, java.lang.Exception[] exceptions)
          Constructs a ServerEvent object with the requested source object, service context object, and set of associated exceptions.
 
Method Summary
abstract  java.lang.Class getDispatchClass()
          Returns the dispatch type of the class, which allows subclasses to retain the "dispatch class" of their supertypes, if desired.
 ServiceContext getServiceContext()
          returns the service context this event is associated with.
 
Methods inherited from class com.essbase.eas.framework.defs.event.FrameworkEvent
addException, getExceptions
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serviceContext

protected ServiceContext serviceContext
the service context that this event is associated with.

Constructor Detail

ServerEvent

public ServerEvent(java.lang.Object source,
                   ServiceContext context)
Constructs a ServerEvent object with the requested source object and service context object. If the source object or the context object are null, a IllegalArgumentException is thrown.

Parameters:
source -
context -

ServerEvent

public ServerEvent(java.lang.Object source,
                   ServiceContext context,
                   java.lang.Exception[] exceptions)
Constructs a ServerEvent object with the requested source object, service context object, and set of associated exceptions. If the source object or the context object are null, a IllegalArgumentException is thrown.

Parameters:
source -
context -
exceptions -
Method Detail

getServiceContext

public ServiceContext getServiceContext()
returns the service context this event is associated with.

Returns:
a valid service context object.

getDispatchClass

public abstract java.lang.Class getDispatchClass()
Returns the dispatch type of the class, which allows subclasses to retain the "dispatch class" of their supertypes, if desired.

Returns:


Copyright © 2001 Hyperion Solutions Corporation. All Rights Reserved.