|
||||||||||
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
public class SpringConfigurationServiceFactory
SpringConfigurationServiceFactory is manages the creation and destruction of a SpringConfiguration.
Constructor Summary | |
---|---|
SpringConfigurationServiceFactory(org.springframework.context.support.AbstractXmlApplicationContext applicationContext)
Creates a SpringConfigurationServiceFactory that wraps the specified application context. |
Method Summary | |
---|---|
Object |
createService(org.apache.xbean.kernel.ServiceContext serviceContext)
|
void |
destroyService(org.apache.xbean.kernel.ServiceContext serviceContext)
|
org.springframework.context.support.AbstractXmlApplicationContext |
getApplicationContext()
Gets the application context wrapped by this configuration. |
ClassLoader |
getClassLoader()
|
String |
getId()
Gets the unique id if this configuration. |
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. |
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.springframework.context.support.AbstractXmlApplicationContext applicationContext)
applicationContext
- the application context for this configurationMethod Detail |
---|
public String getId()
public org.springframework.context.support.AbstractXmlApplicationContext getApplicationContext()
public Class[] getTypes()
public boolean isRestartable()
public Set getOwnedServices()
public Object createService(org.apache.xbean.kernel.ServiceContext serviceContext) throws Exception
Exception
public void destroyService(org.apache.xbean.kernel.ServiceContext serviceContext)
public ClassLoader getClassLoader()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |