Skip navigation links
com.essbase.eas.framework.server.application
Class DefaultEventController
java.lang.Object
com.essbase.eas.framework.server.application.DefaultApplicationPart
com.essbase.eas.framework.server.application.DefaultEventController
- All Implemented Interfaces:
- ApplicationPart, EventController, EventDispatcherManager
-
public class DefaultEventController
- extends DefaultApplicationPart
- implements EventController, EventDispatcherManager
- Version:
- 6.5.2, 10/01/02
- Author:
- Hank Cox, Painted Word
Fields inherited from class com.essbase.eas.framework.server.application.DefaultApplicationPart |
CHAIN_SEPARATOR, manager, parts, serviceContext, serviceManager, state, STATE_BEFORE_WORKERS_ASSIGNED, STATE_CONSTRUCTED, STATE_DESTROYED, STATE_INITIALIZED, STATE_MANAGED, STATE_NULL, STATE_WORKERS_ASSIGNED, STATE_WORKERS_INITIALIZED, storeService |
Methods inherited from class com.essbase.eas.framework.server.application.DefaultApplicationPart |
destroy, getManager, getManagerChain, getServiceContext, getServiceManager, getStoreService, init, initWorkers, requestPart, requestPartPool, setManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dispatcherPool
protected EventDispatcher[] dispatcherPool
dispatchers
protected java.util.HashMap dispatchers
DefaultEventController
public DefaultEventController()
- Constructs a
DefaultEventController
object.
getRoles
public java.lang.Class[] getRoles()
- Overrides the
DefaultApplicationPart.getRoles()
method. Returns an array of objects containing the class objects for the EventController
interface and the EventDispatcherManager
interface.
-
- Specified by:
getRoles
in interface ApplicationPart
-
- Returns:
- an array of class objects representing the roles played by this object.
assignWorkers
public void assignWorkers(ServiceContext context)
throws ApplicationException
-
- Specified by:
assignWorkers
in interface ApplicationPart
-
- Throws:
ApplicationException
handleEvent
public void handleEvent(ServerEvent event)
throws ApplicationException
-
- Specified by:
handleEvent
in interface EventController
-
- Throws:
ApplicationException
addDispatchInterest
public void addDispatchInterest(java.lang.Class dispatchClass,
EventDispatcher dispatcher)
throws ApplicationException
- Implementation of the
EventDispatcherManager.addDispatchInterest()
method.
-
- Specified by:
addDispatchInterest
in interface EventDispatcherManager
-
- Parameters:
dispatchClass
- the class object for events that this object is interested in receiving.
dispatcher
- the dispatcher to send these events to.
- Throws:
ApplicationException
removeDispatchInterest
public void removeDispatchInterest(java.lang.Class dispatchClass)
throws ApplicationException
- Implementation of the
EventDispatcherManager.removeDispatchInterest()
method.
-
- Specified by:
removeDispatchInterest
in interface EventDispatcherManager
-
- Parameters:
dispatchClass
- the class object for events that this object is no longer interested in receiving.
- Throws:
ApplicationException
Skip navigation links
Copyright © 2001, 2007, Oracle. All rights reserved.