Class ContainerWrapper
- java.lang.Object
-
- org.fcrepo.http.commons.test.util.ContainerWrapper
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class ContainerWrapper extends Object implements org.springframework.context.ApplicationContextAware
ContainerWrapper class.
- Author:
- awoods
-
-
Constructor Summary
Constructors Constructor Description ContainerWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.context.ApplicationContextgetSpringAppContext()voidsetApplicationContext(org.springframework.context.ApplicationContext springAppContext)voidsetConfigLocation(String configLocation)voidsetPort(int port)voidstart()voidstop()
-
-
-
Constructor Detail
-
ContainerWrapper
public ContainerWrapper()
-
-
Method Detail
-
setConfigLocation
public void setConfigLocation(String configLocation)
-
setPort
public void setPort(int port)
-
stop
@PreDestroy public void stop()
-
getSpringAppContext
public org.springframework.context.ApplicationContext getSpringAppContext()
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext springAppContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
-