public interface Composable
AppContext.makeObject(Class, String)
method will
return either the parent object of the composite in this case.Modifier and Type | Method and Description |
---|---|
static <X extends Composable> |
getComposable(java.lang.Class<X> target,
java.lang.Class<? extends X> key,
java.lang.Object o)
Convert an object to a
Composable . |
static <X extends Composable> X getComposable(java.lang.Class<X> target, java.lang.Class<? extends X> key, java.lang.Object o) throws InvalidArgument
Composable
.
The object either has to implement the interface or be a DataObjectFactory
in which cast
the target is used to look up a Composite
target
- o
- InvalidArgument