|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PartsManager
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 |
|---|
String[] getKeys()
ComponentHandler getComponentHandler(String key)
throws UnknownKeyException
key - the internal part key
UnknownKeyException - the key is not recognizedComponentHandler[] getComponentHandlers()
ComponentHandler[] getComponentHandlers(Class service)
service - the service class to match against
boolean isCommissioned()
void commission()
throws ControlException
ControlException - if an activation error occursvoid decommission()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||