com.atlassian.spring.container
Class SpringTestContainerContext

java.lang.Object
  extended by com.atlassian.spring.container.SpringContainerContext
      extended by com.atlassian.spring.container.SpringTestContainerContext
All Implemented Interfaces:
ContainerContext

public class SpringTestContainerContext
extends SpringContainerContext


Field Summary
static String[] DEFAULT_CONFIG_FILES
           
 String[] userConfigFiles
           
 
Constructor Summary
SpringTestContainerContext()
           
SpringTestContainerContext(org.springframework.context.ApplicationContext context)
           
 
Method Summary
 void configure(String[] files)
           
 org.springframework.context.ApplicationContext getApplicationContext()
           
protected  String[] getDefaultConfigFiles()
          Override this method to use different files.
 void refresh()
          Refreshes the container, i.e.
 
Methods inherited from class com.atlassian.spring.container.SpringContainerContext
autowireComponent, contextReloaded, createComponent, getComponent, getServletContext, isSetup, publishEvent, setApplicationContext, setServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONFIG_FILES

public static final String[] DEFAULT_CONFIG_FILES

userConfigFiles

public String[] userConfigFiles
Constructor Detail

SpringTestContainerContext

public SpringTestContainerContext()
                           throws org.springframework.beans.BeansException,
                                  IOException
Throws:
org.springframework.beans.BeansException
IOException

SpringTestContainerContext

public SpringTestContainerContext(org.springframework.context.ApplicationContext context)
Method Detail

getDefaultConfigFiles

protected String[] getDefaultConfigFiles()
Override this method to use different files.


getApplicationContext

public org.springframework.context.ApplicationContext getApplicationContext()
Overrides:
getApplicationContext in class SpringContainerContext

refresh

public void refresh()
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
Overrides:
refresh in class SpringContainerContext

configure

public void configure(String[] files)
               throws org.springframework.beans.BeansException,
                      IOException
Throws:
org.springframework.beans.BeansException
IOException


Atlassian Spring is developed by Atlassian Software Systems.