Skip navigation links
com.essbase.eas.framework.server.application
Class DefaultApplication
java.lang.Object
com.essbase.eas.framework.server.application.DefaultApplicationPart
com.essbase.eas.framework.server.application.DefaultApplication
- All Implemented Interfaces:
- Application, ApplicationPart, EventControllerManager
-
public class DefaultApplication
- extends DefaultApplicationPart
- implements EventControllerManager, Application
implementation of EAS default application.
- Version:
- 6.5.2, 09/23/2002
- 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 |
Constructor Summary |
DefaultApplication()
Constructs a DefaultApplication object with the default values. |
Method Summary |
void |
assignWorkers(ServiceContext context)
concrete implementation of the ApplicationPart.assignWorkers() method. |
void |
generateWorkEvent(ServiceContext context)
Coordinates the generation of work events and their dispatch to the application framework. |
java.lang.Class[] |
getRoles()
Overrides the DefaultApplicationPart method to provide a selective list of role classes that this class implements to support the application builder. |
java.lang.Object |
init(ServiceContext context)
Initialize and store mandatory and optimizing references. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
eventController
protected EventController eventController
workFactory
protected WorkFactory workFactory
DefaultApplication
public DefaultApplication()
- Constructs a
DefaultApplication
object with the default values.
getRoles
public java.lang.Class[] getRoles()
- Overrides the
DefaultApplicationPart
method to provide a selective list of role classes that this class implements to support the application builder.
-
- Specified by:
getRoles
in interface ApplicationPart
-
- Returns:
- an array of class objects representing the roles of this class.
assignWorkers
public void assignWorkers(ServiceContext context)
throws ApplicationException
- concrete implementation of the
ApplicationPart.assignWorkers()
method. Requests workers by their role class.
-
- Specified by:
assignWorkers
in interface ApplicationPart
-
- Parameters:
context
- - service context for this application.
- Throws:
ApplicationException
init
public java.lang.Object init(ServiceContext context)
throws ApplicationException
- Initialize and store mandatory and optimizing references.
-
- Specified by:
init
in interface ApplicationPart
- Overrides:
init
in class DefaultApplicationPart
-
- Parameters:
context
- service context for this application
- Returns:
- Throws:
ApplicationException
generateWorkEvent
public void generateWorkEvent(ServiceContext context)
throws ApplicationException
- Coordinates the generation of work events and their dispatch to the application framework.
-
- Specified by:
generateWorkEvent
in interface Application
-
- Parameters:
context
- service context for the application
- Throws:
ApplicationException
Skip navigation links
Copyright © 2001, 2007, Oracle. All rights reserved.