|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.spring.container.ContainerManager
public class ContainerManager
| Method Summary | ||
|---|---|---|
static void |
autowireComponent(java.lang.Object component)
Utility method to autowire a bean |
|
static java.lang.Object |
getComponent(java.lang.String key)
Utility method to get a bean from the current container |
|
static
|
getComponent(java.lang.String key,
java.lang.Class<T> aClass)
Utility method to get a bean from the current container |
|
ContainerContext |
getContainerContext()
|
|
static ContainerManager |
getInstance()
|
|
static boolean |
isContainerSetup()
|
|
static void |
resetInstance()
|
|
void |
setContainerContext(ContainerContext containerContext)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ContainerManager getInstance()
public static java.lang.Object getComponent(java.lang.String key)
throws ComponentNotFoundException
ComponentNotFoundException - if the specified component cannot be found in the container
public static <T> T getComponent(java.lang.String key,
java.lang.Class<T> aClass)
throws ComponentNotFoundException,
ComponentTypeMismatchException
ComponentNotFoundException - if the specified component cannot be found in the container
ComponentTypeMismatchException - if the specified component is not assignable to the type specifiedpublic static void autowireComponent(java.lang.Object component)
component - public ContainerContext getContainerContext()
public void setContainerContext(ContainerContext containerContext)
containerContext - The containerContext to set.public static void resetInstance()
public static boolean isContainerSetup()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||