|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContainerContext
| Method Summary | |
|---|---|
void |
autowireComponent(java.lang.Object component)
Autowire an object in this container as much as we can. |
java.lang.Object |
createCompleteComponent(java.lang.Class clazz)
Creates a new bean from the given class. |
java.lang.Object |
createComponent(java.lang.Class clazz)
Create an object of the given class, and try to auto-wire by name. |
java.lang.Object |
getComponent(java.lang.Object key)
Retrieves a component from the container |
boolean |
isSetup()
|
void |
publishEvent(com.atlassian.event.Event e)
|
void |
refresh()
Refreshes the container, i.e. |
| Method Detail |
|---|
java.lang.Object getComponent(java.lang.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 containerjava.lang.Object createComponent(java.lang.Class clazz)
java.lang.Object createCompleteComponent(java.lang.Class clazz)
BeanPostProcessors and autowires
the bean.
clazz - @NotNull
void autowireComponent(java.lang.Object component)
void refresh()
boolean isSetup()
void publishEvent(com.atlassian.event.Event e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||