org.apache.servicemix.common.xbean
Class XBeanServiceUnit
java.lang.Object
org.apache.servicemix.common.DefaultServiceUnit
org.apache.servicemix.common.xbean.XBeanServiceUnit
- All Implemented Interfaces:
- ServiceUnit
public class XBeanServiceUnit
- extends DefaultServiceUnit
| Methods inherited from class org.apache.servicemix.common.DefaultServiceUnit |
addEndpoint, getComponent, getCurrentState, getEndpoint, getEndpoints, getName, getRootPath, init, removeEndpoint, setComponent, setName, setRootPath, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XBeanServiceUnit
public XBeanServiceUnit()
getApplicationContext
public org.springframework.context.support.AbstractXmlApplicationContext getApplicationContext()
setApplicationContext
public void setApplicationContext(org.springframework.context.support.AbstractXmlApplicationContext applicationContext)
shutDown
public void shutDown()
throws Exception
- Description copied from interface:
ServiceUnit
- Transition this service unit into the SHUTDOWN state.
This call is only valid if the service unit is in a STOPPED state.
- Specified by:
shutDown in interface ServiceUnit- Overrides:
shutDown in class DefaultServiceUnit
- Throws:
Exception- See Also:
Endpoint.deactivate()
getConfigurationClassLoader
public ClassLoader getConfigurationClassLoader()
- Description copied from interface:
ServiceUnit
- Retrieve this service unit specific classloader.
- Specified by:
getConfigurationClassLoader in interface ServiceUnit- Overrides:
getConfigurationClassLoader in class DefaultServiceUnit
- Returns:
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.