Interface Composable
-
- All Known Subinterfaces:
Recomposable
public interface Composable
AComposable
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. TheComposable
is able to useComponents
managed by theComponentManager
it was initialized with. As part of the contract with the system, the instantiating entity must call thecompose
method before theComposable
can be considered valid.Deprecated: Use
Serviceable
instead.- Version:
- CVS $Revision: 1.19 $ $Date: 2003/02/11 15:58:38 $
- Author:
- Avalon Development Team
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
compose(ComponentManager componentManager)
Pass theComponentManager
to thecomposer
.
-
-
-
Method Detail
-
compose
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
.- Throws:
ComponentException
- if an error occurs
-
-