|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Local interface through which a component implementation may interact with subsidary parts.
Method Summary | |
void |
commission()
Initiate the oprdered activation of all internal parts. |
void |
decommission()
Initiate deactivation of all internal parts. |
ComponentHandler |
getComponentHandler(String key)
Return a local component handler. |
ComponentHandler[] |
getComponentHandlers()
Return an array of all component handlers. |
ComponentHandler[] |
getComponentHandlers(Class service)
Return an array of component handlers assignable to the supplied service. |
String[] |
getKeys()
Return the array of keys used to identify internal parts. |
boolean |
isCommissioned()
Return the commissioned state of the part collection. |
Method Detail |
public String[] getKeys()
public ComponentHandler getComponentHandler(String key) throws UnknownKeyException
key
- the internal part key
UnknownKeyException
- the key is not recognizedpublic ComponentHandler[] getComponentHandlers()
public ComponentHandler[] getComponentHandlers(Class service)
service
- the service class to match against
public boolean isCommissioned()
public void commission() throws ControlException
ControlException
- if an activation error occurspublic void decommission()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |