|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContainerContext
| Method Summary | |
|---|---|
void |
autowireComponent(Object component)
Autowire an object in this container as much as we can. |
Object |
createComponent(Class clazz)
Create an object of the given class, and try to auto-wire it as much as we can. |
Object |
getComponent(Object key)
Retrieves a component from the container |
boolean |
isSetup()
|
void |
publishEvent(Event e)
|
void |
refresh()
Refreshes the container, i.e. |
| Method Detail |
|---|
Object getComponent(Object key)
throws ComponentNotFoundException
key - the key which matches to the component
ComponentNotFoundException - if the key passed in is null or the component is not found
or if there is more than one satisfiable component for the given key, such as the key is a Class
and multiple instances of the class exist in the containerObject createComponent(Class clazz)
void autowireComponent(Object component)
void refresh()
boolean isSetup()
void publishEvent(Event e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||