bucket.container
Class DeprecatedContainerContext

java.lang.Object
  extended by bucket.container.DeprecatedContainerContext
All Implemented Interfaces:
ContainerContext

Deprecated.

public class DeprecatedContainerContext
extends java.lang.Object
implements ContainerContext


Constructor Summary
DeprecatedContainerContext(com.atlassian.spring.container.ContainerManager containerManager)
          Deprecated.  
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeprecatedContainerContext

public DeprecatedContainerContext(com.atlassian.spring.container.ContainerManager containerManager)
Deprecated. 
Method Detail

getComponent

public java.lang.Object getComponent(java.lang.Object key)
                              throws com.atlassian.spring.container.ComponentNotFoundException
Deprecated. 
Description copied from interface: ContainerContext
Retrieves a component from the container

Specified by:
getComponent in interface ContainerContext
Parameters:
key - the key which matches to the component
Returns:
the component or null if the component was not found
Throws:
com.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 container

createComponent

public java.lang.Object createComponent(java.lang.Class clazz)
Deprecated. 
Description copied from interface: ContainerContext
Create an object of the given class, and try to auto-wire it as much as we can.

Specified by:
createComponent in interface ContainerContext

autowireComponent

public void autowireComponent(java.lang.Object component)
Deprecated. 
Description copied from interface: ContainerContext
Autowire an object in this container as much as we can.

Specified by:
autowireComponent in interface ContainerContext

refresh

public void refresh()
Deprecated. 
Description copied from interface: ContainerContext
Refreshes the container, i.e. reloads it's components from it's config file

Specified by:
refresh in interface ContainerContext

isSetup

public boolean isSetup()
Deprecated. 
Specified by:
isSetup in interface ContainerContext

publishEvent

public void publishEvent(com.atlassian.event.Event e)
Deprecated. 
Specified by:
publishEvent in interface ContainerContext


Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.