| Package | Description |
|---|---|
| cz.cuni.amis.pogamut.base.component.controller |
| Modifier and Type | Method and Description |
|---|---|
ComponentDependencyType |
ComponentDependencies.getType() |
static ComponentDependencyType |
ComponentDependencyType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentDependencyType[] |
ComponentDependencyType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
ComponentController(COMPONENT component,
IComponentControlHelper componentControlHelper,
IComponentBus bus,
Logger log,
ComponentDependencyType dependencyType,
Object... dependencies)
If you use only
IComponentBus (not ILifecycleBus, you must create this ComponentController before any of 'dependencies' is started
as there is no way how to retrieve state of component from 'dependencies' so we will assume that all are in state ComponentState.INSTANTIATED. |
ComponentController(COMPONENT component,
IComponentControlHelper componentControlHelper,
ILifecycleBus bus,
Logger log,
ComponentDependencyType dependencyType,
Object... dependencies)
If you're using
ILifecycleBus (not only IComponentBus, you may create this ComponentController even after some 'dependencies' has started
as ILifecycleBus allows us to retrieve current state of dependencies, so we're able to start the component during the construction
if dependencies are already met. |
ComponentDependencies(ComponentDependencyType dependencyType) |
ComponentDependencies(ComponentDependencyType dependencyType,
Object... dependencies) |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.