com.atlassian.spring.container
Class ContainerManager
java.lang.Object
com.atlassian.spring.container.ContainerManager
public class ContainerManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ContainerManager getInstance()
getComponent
public static Object getComponent(String key)
- Utility method to get a bean from the current container
autowireComponent
public static void autowireComponent(Object component)
- Utility method to autowire a bean
- Parameters:
component
-
getContainerContext
public ContainerContext getContainerContext()
- Returns:
- Returns the containerContext.
setContainerContext
public void setContainerContext(ContainerContext containerContext)
- Parameters:
containerContext
- The containerContext to set.
resetInstance
public static void resetInstance()
isContainerSetup
public static boolean isContainerSetup()