Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
public interface Composable
Composable
class is one that needs to connect to software
components using a "role" abstraction, thus not depending on particular
implementations but on behavioral interfaces.
The contract surrounding a Composable
is that it is a user.
The Composable
is able to use Components
managed
by the ComponentManager
it was initialized with. As part
of the contract with the system, the instantiating entity must call
the compose
method before the Composable
can be considered valid.
Deprecated:
Use Serviceable
instead.
Method Summary | |
void |
|
public void compose(ComponentManager componentManager) throws ComponentException
Pass theComponentManager
to thecomposer
. TheComposable
implementation should use the specifiedComponentManager
to acquire the components it needs for execution.
- Parameters:
componentManager
- TheComponentManager
which thisComposable
uses. Must not benull
.