com.atlassian.spring.container
Class ContainerManager

java.lang.Object
  extended by com.atlassian.spring.container.ContainerManager

public class ContainerManager
extends Object


Method Summary
static void autowireComponent(Object component)
          Utility method to autowire a bean
static Object getComponent(String key)
          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

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()


Atlassian Spring is developed by Atlassian Software Systems.