Skip navigation links


com.essbase.eas.framework.server.application
Class DefaultWorkDispatcher

java.lang.Object
  extended by com.essbase.eas.framework.server.application.DefaultApplicationPart
      extended by com.essbase.eas.framework.server.application.DefaultWorkDispatcher

All Implemented Interfaces:
ApplicationPart, EventDispatcher, WorkListenerManager

public class DefaultWorkDispatcher
extends DefaultApplicationPart
implements WorkListenerManager, EventDispatcher
Since:
6.5.2
Version:
6.5.2, 10/01/02
Author:
Hank Cox, Painted Word

Field Summary
protected  WorkListener[] listenerPool
           
protected  WorkListener[] orderedListeners
           

 

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

 

Constructor Summary
DefaultWorkDispatcher()
          Constructs a new DefaultWorkDispatcher object.

 

Method Summary
 void assignWorkers(ServiceContext context)
           
 void dispatchEvent(ServerEvent event)
           
 java.lang.Class[] getRoles()
          Implementation of the ApplicationPart.getRoles() method.
 java.lang.Object init(ServiceContext context)
          Initializes and stores mandatory and optimizing references.

 

Methods inherited from class com.essbase.eas.framework.server.application.DefaultApplicationPart
destroy, getManager, getManagerChain, getServiceContext, getServiceManager, getStoreService, initWorkers, requestPart, requestPartPool, setManager

 

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

 

Methods inherited from interface com.essbase.eas.framework.server.defs.ApplicationPart
destroy, getManager, getServiceContext, getServiceManager, getStoreService, initWorkers, setManager

 

Field Detail

listenerPool

protected WorkListener[] listenerPool

orderedListeners

protected WorkListener[] orderedListeners

Constructor Detail

DefaultWorkDispatcher

public DefaultWorkDispatcher()
Constructs a new DefaultWorkDispatcher object.

Method Detail

getRoles

public java.lang.Class[] getRoles()
Implementation of the ApplicationPart.getRoles() method.
Specified by:
getRoles in interface ApplicationPart

assignWorkers

public void assignWorkers(ServiceContext context)
                   throws ApplicationException
Specified by:
assignWorkers in interface ApplicationPart
Throws:
ApplicationException

init

public java.lang.Object init(ServiceContext context)
                      throws ApplicationException
Description copied from class: DefaultApplicationPart
Initializes and stores mandatory and optimizing references.
Specified by:
init in interface ApplicationPart
Overrides:
init in class DefaultApplicationPart
Parameters:
context - - the ServiceContext object for this context
Throws:
ApplicationException

dispatchEvent

public void dispatchEvent(ServerEvent event)
                   throws ApplicationException
Specified by:
dispatchEvent in interface EventDispatcher
Throws:
ApplicationException

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.