Interface Composable
-
- All Known Subinterfaces:
Recomposable
public interface ComposableAComposableclass 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
Composableis that it is a user. TheComposableis able to useComponentsmanaged by theComponentManagerit was initialized with. As part of the contract with the system, the instantiating entity must call thecomposemethod before theComposablecan be considered valid.Deprecated: Use
Serviceableinstead.- Version:
- $Id: Composable.java 30977 2004-07-30 03:57:54 -0500 (Fri, 30 Jul 2004) niclas $
- Author:
- Avalon Development Team
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcompose(ComponentManager componentManager)Pass theComponentManagerto thecomposer.
-
-
-
Method Detail
-
compose
void compose(ComponentManager componentManager) throws ComponentException
Pass theComponentManagerto thecomposer. TheComposableimplementation should use the specifiedComponentManagerto acquire the components it needs for execution.- Parameters:
componentManager- TheComponentManagerwhich thisComposableuses. Must not benull.- Throws:
ComponentException- if an error occurs
-
-