Skip navigation links
com.essbase.eas.framework.server.defs.event
Class ServerEvent
java.lang.Object
java.util.EventObject
com.essbase.eas.framework.defs.event.FrameworkEvent
com.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
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 java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serviceContext
protected ServiceContext serviceContext
- the service context that this event is associated with.
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
-
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:
Skip navigation links
Copyright © 2001, 2007, Oracle. All rights reserved.