|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Container
A container for components that will satisfy requests if the component is available. How these component requests are satisfied are implementation dependent, as well as how inter-component dependencies are resolved.
| Method Summary | |
|---|---|
java.lang.Object |
getComponent(java.lang.Object key)
Returns the component named by the key if it is available, or null if no such component is available. |
boolean |
hasComponent(java.lang.Object key)
Returns true if the Component is available and prepared. |
boolean |
isRunning()
Returns true if the container has been started, and false if it has not been started. |
void |
start()
Begin the lifecycle of the container, after which components should be accessible. |
| Method Detail |
|---|
boolean hasComponent(java.lang.Object key)
java.lang.Object getComponent(java.lang.Object key)
void start()
boolean isRunning()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||