public interface IComponentController<COMPONENT extends IComponent> extends IComponentControllerBase<COMPONENT>
IComponent
NOT ISharedComponent
s (for them, use ISharedComponentController
instead).
It is suitable for controlling lifecycle of one component inside one component bus. It provides methods for querying components the controlled component is depending on.
For more information, how IComponentController
should behave, see (quite exhausting) javadoc for its concrete implementation ComponentController
.
Modifier and Type | Method and Description |
---|---|
boolean |
isDependent(IComponent component)
Whether the controlled component is dependent on 'component'.
|
boolean |
isDependent(cz.cuni.amis.utils.token.IToken componentId)
Whether the controlled component is dependent on the component identified by 'componentId'.
|
awaitState, awaitState, fatalError, fatalError, getComponent, getComponentControl, getFatalError, getState, inState, isBroadcastingEvents, isPaused, isRunning, manualKill, manualPause, manualResume, manualStart, manualStartPaused, manualStop, notInState, setBroadcastingEvents
getComponentId
boolean isDependent(cz.cuni.amis.utils.token.IToken componentId)
componentId
- boolean isDependent(IComponent component)
component
- Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.