|
|||||||||||
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
SpringConfiguration that registers and unregisters services that have been defined in a SpringApplicationContext.
Constructor Summary | |
SpringConfiguration(org.apache.xbean.spring.context.SpringApplicationContext 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. |
java.lang.String |
getId()
Gets the unique identifier of this configuration. |
java.util.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.apache.xbean.spring.context.SpringApplicationContext applicationContext, org.apache.xbean.kernel.Kernel kernel) throws java.lang.Exception
applicationContext
- the application context from which services are registeredkernel
- the kernel in which services are registered and unregistered
java.lang.Exception
- if a problem occurs while registering the services from the application contextMethod Detail |
public java.lang.String getId()
public java.util.Map getServiceFactories()
public void destroy()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |