cz.cuni.amis.pogamut.base.component.controller
Class SharedComponentController.LocalController
java.lang.Object
cz.cuni.amis.pogamut.base.component.controller.SharedComponentController.LocalController
- Enclosing class:
- SharedComponentController<COMPONENT extends ISharedComponent>
protected class SharedComponentController.LocalController
- extends java.lang.Object
Used as IComponentControlHelper
that is passed to every ILifecycleBus.addLifecycleManagement(IComponent, IComponentControlHelper, ComponentDependencies)
sensing decisions of ordinary ComponentController
that signalizes when the component should be started for a given bus.
All lifecycle methods are just recalling SharedComponentControl
signalizeXXX() methods where we truly decide whether the component
should start/stop, etc.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listener
protected SharedComponentController.ComponentStateListener listener
controller
protected IComponentController controller
SharedComponentController.LocalController
public SharedComponentController.LocalController(IAgentId agentId,
IComponentController controller)
getAgentId
public IAgentId getAgentId()
destroy
public void destroy()