com.atlassian.spring.container
Class SpringTestContainerContext
java.lang.Object
com.atlassian.spring.container.SpringContainerContext
com.atlassian.spring.container.SpringTestContainerContext
- All Implemented Interfaces:
- ContainerContext
public class SpringTestContainerContext
- extends SpringContainerContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CONFIG_FILES
public static final String[] DEFAULT_CONFIG_FILES
userConfigFiles
public String[] userConfigFiles
SpringTestContainerContext
public SpringTestContainerContext()
throws org.springframework.beans.BeansException,
IOException
- Throws:
org.springframework.beans.BeansException
IOException
SpringTestContainerContext
public SpringTestContainerContext(org.springframework.context.ApplicationContext context)
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