org.apache.servicemix.common.xbean
Class XBeanServiceUnit

java.lang.Object
  extended by org.apache.servicemix.common.ServiceUnit
      extended by org.apache.servicemix.common.xbean.XBeanServiceUnit

public class XBeanServiceUnit
extends ServiceUnit


Field Summary
 
Fields inherited from class org.apache.servicemix.common.ServiceUnit
component, endpoints, name, rootPath, status
 
Constructor Summary
XBeanServiceUnit()
           
 
Method Summary
 org.apache.xbean.kernel.ServiceName getConfiguration()
           
 ClassLoader getConfigurationClassLoader()
           
 org.apache.xbean.kernel.Kernel getKernel()
           
 void setConfiguration(org.apache.xbean.kernel.ServiceName configuration)
           
 void setKernel(org.apache.xbean.kernel.Kernel kernel)
           
 void shutDown()
           
 
Methods inherited from class org.apache.servicemix.common.ServiceUnit
addEndpoint, getComponent, getCurrentState, getEndpoint, getEndpoints, getName, getRootPath, 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

getKernel

public org.apache.xbean.kernel.Kernel getKernel()
Returns:
Returns the kernel.

setKernel

public void setKernel(org.apache.xbean.kernel.Kernel kernel)
Parameters:
kernel - The kernel to set.

getConfiguration

public org.apache.xbean.kernel.ServiceName getConfiguration()

setConfiguration

public void setConfiguration(org.apache.xbean.kernel.ServiceName configuration)

shutDown

public void shutDown()
              throws javax.jbi.JBIException
Overrides:
shutDown in class ServiceUnit
Throws:
javax.jbi.JBIException

getConfigurationClassLoader

public ClassLoader getConfigurationClassLoader()
Overrides:
getConfigurationClassLoader in class ServiceUnit


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.