|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.components.SpringComponentManager
public class SpringComponentManager
SpringComponentManager
Field Summary | |
---|---|
protected org.springframework.context.ConfigurableApplicationContext |
appContext
|
private org.springframework.context.ConfigurableApplicationContext |
bootCtx
|
protected ArrayList |
factories
|
private Map |
preconfiguredBeans
|
private boolean |
started
|
Constructor Summary | |
---|---|
SpringComponentManager(String[] bootConfigs,
String[] appConfigs,
javax.servlet.ServletContext servletContext,
String appRoot)
|
|
SpringComponentManager(String[] bootConfigs,
String[] appConfigs,
javax.servlet.ServletContext servletContext,
String appRoot,
Map preconfiguredBeans)
|
|
SpringComponentManager(String[] bootConfigs,
String[] appConfigs,
String appRoot)
|
Method Summary | |
---|---|
void |
addComponent(String name,
Object bean)
|
org.springframework.context.ApplicationContext |
getApplicationContext()
|
Object |
getComponent(Object componentName)
getComponent |
Object |
getComponent(Object containerName,
Object componentName)
getComponent |
Object |
getContainer(String containerName)
getContainer |
Collection |
getContainers()
getContainers |
Object |
getRootContainer()
getRootContainer |
void |
start()
|
void |
stop()
stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.springframework.context.ConfigurableApplicationContext appContext
private org.springframework.context.ConfigurableApplicationContext bootCtx
protected ArrayList factories
private Map preconfiguredBeans
private boolean started
Constructor Detail |
---|
public SpringComponentManager(String[] bootConfigs, String[] appConfigs, javax.servlet.ServletContext servletContext, String appRoot)
public SpringComponentManager(String[] bootConfigs, String[] appConfigs, javax.servlet.ServletContext servletContext, String appRoot, Map preconfiguredBeans)
public SpringComponentManager(String[] bootConfigs, String[] appConfigs, String appRoot)
Method Detail |
---|
public Object getComponent(Object componentName)
getComponent
getComponent
in interface org.apache.jetspeed.components.ComponentManagement
componentName
-
ComponentManagement.getComponent(java.lang.Object)
public Object getComponent(Object containerName, Object componentName)
getComponent
getComponent
in interface org.apache.jetspeed.components.ComponentManagement
containerName
- componentName
-
ComponentManagement.getComponent(java.lang.Object,
java.lang.Object)
public Object getContainer(String containerName)
getContainer
getContainer
in interface org.apache.jetspeed.components.ContainerManagement
containerName
-
ContainerManagement.getContainer(java.lang.String)
public Object getRootContainer()
getRootContainer
getRootContainer
in interface org.apache.jetspeed.components.ContainerManagement
ContainerManagement.getRootContainer()
public Collection getContainers()
getContainers
getContainers
in interface org.apache.jetspeed.components.ContainerManagement
ContainerManagement.getContainers()
public void stop()
stop
stop
in interface org.apache.jetspeed.components.ContainerManagement
ContainerManagement.stop()
public org.springframework.context.ApplicationContext getApplicationContext()
public void addComponent(String name, Object bean)
addComponent
in interface org.apache.jetspeed.components.ComponentManagement
public void start()
start
in interface org.apache.jetspeed.components.ContainerManagement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |