|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xbean.server.spring.configuration.SpringConfiguration
public class SpringConfiguration
SpringConfiguration that registers and unregisters services that have been defined in a Spring ApplicationContext.
| Constructor Summary | |
|---|---|
SpringConfiguration(org.springframework.context.support.AbstractXmlApplicationContext applicationContext,
org.apache.xbean.kernel.Kernel kernel)
Creates a SpringConfiguration that registers and unregisters services that have been defined in a Spring ApplicationContext. |
|
| Method Summary | |
|---|---|
void |
destroy()
Unregisters all of the services registered with the kernel in the constructor. |
protected static ClassLoader |
getClassLoader(org.springframework.context.support.AbstractXmlApplicationContext applicationContext)
|
String |
getId()
Gets the unique identifier of this configuration. |
Map |
getServiceFactories()
Gets the service factories for the services defined in this configuration by ServiceName. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringConfiguration(org.springframework.context.support.AbstractXmlApplicationContext applicationContext,
org.apache.xbean.kernel.Kernel kernel)
throws Exception
applicationContext - the application context from which services are registeredkernel - the kernel in which services are registered and unregistered
Exception - if a problem occurs while registering the services from the application context| Method Detail |
|---|
public String getId()
public Map getServiceFactories()
public void destroy()
protected static ClassLoader getClassLoader(org.springframework.context.support.AbstractXmlApplicationContext applicationContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||