public class DeprecatedContainerContext extends java.lang.Object implements ContainerContext
| Constructor and Description |
|---|
DeprecatedContainerContext(com.atlassian.spring.container.ContainerManager containerManager)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
autowireComponent(java.lang.Object component)
Deprecated.
Autowire an object in this container as much as we can.
|
java.lang.Object |
createComponent(java.lang.Class clazz)
Deprecated.
Create an object of the given class, and try to auto-wire it as much as we can.
|
java.lang.Object |
getComponent(java.lang.Object key)
Deprecated.
Retrieves a component from the container
|
boolean |
isSetup()
Deprecated.
|
void |
publishEvent(com.atlassian.event.Event e)
Deprecated.
|
void |
refresh()
Deprecated.
Refreshes the container, i.e.
|
public DeprecatedContainerContext(com.atlassian.spring.container.ContainerManager containerManager)
public java.lang.Object getComponent(java.lang.Object key)
throws com.atlassian.spring.container.ComponentNotFoundException
ContainerContextgetComponent in interface ContainerContextkey - the key which matches to the componentcom.atlassian.spring.container.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 containerpublic java.lang.Object createComponent(java.lang.Class clazz)
ContainerContextcreateComponent in interface ContainerContextpublic void autowireComponent(java.lang.Object component)
ContainerContextautowireComponent in interface ContainerContextpublic void refresh()
ContainerContextrefresh in interface ContainerContextpublic boolean isSetup()
isSetup in interface ContainerContextpublic void publishEvent(com.atlassian.event.Event e)
publishEvent in interface ContainerContextCopyright © 2014 Atlassian. All Rights Reserved.