|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xbean.kernel.AbstractServiceFactory
org.apache.xbean.server.spring.configuration.SpringConfigurationServiceFactory
SpringConfigurationServiceFactory is manages the creation and destruction of a SpringConfiguration.
Constructor Summary | |
SpringConfigurationServiceFactory(org.apache.xbean.spring.context.SpringApplicationContext applicationContext)
Creates a SpringConfigurationServiceFactory that wraps the specified application context. |
Method Summary | |
java.lang.Object |
createService(org.apache.xbean.kernel.ServiceContext serviceContext)
|
void |
destroyService(org.apache.xbean.kernel.ServiceContext serviceContext)
|
org.apache.xbean.spring.context.SpringApplicationContext |
getApplicationContext()
Gets the application context wrapped by this configuration. |
java.lang.String |
getId()
Gets the unique id if this configuration. |
java.util.Set |
getOwnedServices()
Gets the ServiceNames of the services defined in the application context if the configuration has been started, otherwise this method returns an empty set. |
java.lang.Class[] |
getTypes()
|
boolean |
isRestartable()
SpringConfigurationServiceFactory is restartable so this method always returns true. |
Methods inherited from class org.apache.xbean.kernel.AbstractServiceFactory |
addStartCondition, addStopCondition, getStartConditions, getStopConditions, isEnabled, removeStartCondition, removeStopCondition, setEnabled |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SpringConfigurationServiceFactory(org.apache.xbean.spring.context.SpringApplicationContext applicationContext)
applicationContext
- the application context for this configurationMethod Detail |
public java.lang.String getId()
public org.apache.xbean.spring.context.SpringApplicationContext getApplicationContext()
public java.lang.Class[] getTypes()
public boolean isRestartable()
public java.util.Set getOwnedServices()
public java.lang.Object createService(org.apache.xbean.kernel.ServiceContext serviceContext) throws java.lang.Exception
java.lang.Exception
public void destroyService(org.apache.xbean.kernel.ServiceContext serviceContext)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |