org.apache.servicemix.common.xbean
Class XBeanServiceUnit

java.lang.Object
  extended by org.apache.servicemix.common.DefaultServiceUnit
      extended by org.apache.servicemix.common.xbean.XBeanServiceUnit
All Implemented Interfaces:
ServiceUnit

public class XBeanServiceUnit
extends DefaultServiceUnit


Field Summary
 
Fields inherited from class org.apache.servicemix.common.DefaultServiceUnit
component, endpoints, name, rootPath, status
 
Constructor Summary
XBeanServiceUnit()
           
 
Method Summary
 org.springframework.context.support.AbstractXmlApplicationContext getApplicationContext()
           
 java.lang.ClassLoader getConfigurationClassLoader()
          Retrieve this service unit specific classloader.
 void setApplicationContext(org.springframework.context.support.AbstractXmlApplicationContext applicationContext)
           
 void shutDown()
          Transition this service unit into the SHUTDOWN state.
 
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
 

Constructor Detail

XBeanServiceUnit

public XBeanServiceUnit()
Method Detail

getApplicationContext

public org.springframework.context.support.AbstractXmlApplicationContext getApplicationContext()

setApplicationContext

public void setApplicationContext(org.springframework.context.support.AbstractXmlApplicationContext applicationContext)

shutDown

public void shutDown()
              throws java.lang.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:
java.lang.Exception
See Also:
Endpoint.deactivate()

getConfigurationClassLoader

public java.lang.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-2012 FuseSource. All Rights Reserved.