|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.test.composite.PartsComponent
public class PartsComponent
This component declares an inner Parts interface through which it accesses a map of the context infomation of a subsidiary component named 'child'. The subsidiary component is defined and established within the component types definition (see build file for details).
Nested Class Summary | |
---|---|
static interface |
PartsComponent.Context
The construction criteria. |
Constructor Summary | |
---|---|
PartsComponent(Logger logger,
PartsComponent.Context context,
PartsManager parts)
Creation of a new composite component instance. |
Method Summary | |
---|---|
ChildComponent |
getChild()
Return the child component for evaluation by the testcase. |
Color |
getColor()
Return the color value assigned to the component context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PartsComponent(Logger logger, PartsComponent.Context context, PartsManager parts) throws UnknownKeyException, RemoteException
logger
- the assingned logging channelcontext
- a context implementationparts
- the parts manager
UnknownKeyException
- if the implementation uses a bad reference
RemoteException
- if a remote I/O error occursMethod Detail |
---|
public Color getColor()
getColor
in interface ColorManager
public ChildComponent getChild() throws Exception
Exception
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |