org.apache.cxf.jbi.se
Class CXFServiceUnitManager

java.lang.Object
  extended by org.apache.cxf.jbi.se.CXFServiceUnitManager
All Implemented Interfaces:
javax.jbi.component.ServiceUnitManager

public class CXFServiceUnitManager
extends java.lang.Object
implements javax.jbi.component.ServiceUnitManager

Manage deployment of service units to the CXF service engine


Constructor Summary
CXFServiceUnitManager(Bus b, javax.jbi.component.ComponentContext c, ComponentClassLoader loader)
           
 
Method Summary
 java.lang.String deploy(java.lang.String suName, java.lang.String suRootPath)
           
 CXFServiceUnit getServiceUnitForEndpoint(javax.jbi.servicedesc.ServiceEndpoint ep)
           
 void init(java.lang.String suName, java.lang.String suRootPath)
           
 void putServiceEndpoint(javax.jbi.servicedesc.ServiceEndpoint ref, CXFServiceUnit csu)
           
 void shutDown(java.lang.String suName)
           
 void start(java.lang.String suName)
           
 void stop(java.lang.String suName)
           
 java.lang.String undeploy(java.lang.String suName, java.lang.String suRootPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CXFServiceUnitManager

public CXFServiceUnitManager(Bus b,
                             javax.jbi.component.ComponentContext c,
                             ComponentClassLoader loader)
Method Detail

shutDown

public final void shutDown(java.lang.String suName)
                    throws javax.jbi.management.DeploymentException
Specified by:
shutDown in interface javax.jbi.component.ServiceUnitManager
Throws:
javax.jbi.management.DeploymentException

deploy

public final java.lang.String deploy(java.lang.String suName,
                                     java.lang.String suRootPath)
                              throws javax.jbi.management.DeploymentException
Specified by:
deploy in interface javax.jbi.component.ServiceUnitManager
Throws:
javax.jbi.management.DeploymentException

undeploy

public final java.lang.String undeploy(java.lang.String suName,
                                       java.lang.String suRootPath)
                                throws javax.jbi.management.DeploymentException
Specified by:
undeploy in interface javax.jbi.component.ServiceUnitManager
Throws:
javax.jbi.management.DeploymentException

init

public final void init(java.lang.String suName,
                       java.lang.String suRootPath)
                throws javax.jbi.management.DeploymentException
Specified by:
init in interface javax.jbi.component.ServiceUnitManager
Throws:
javax.jbi.management.DeploymentException

start

public final void start(java.lang.String suName)
                 throws javax.jbi.management.DeploymentException
Specified by:
start in interface javax.jbi.component.ServiceUnitManager
Throws:
javax.jbi.management.DeploymentException

putServiceEndpoint

public void putServiceEndpoint(javax.jbi.servicedesc.ServiceEndpoint ref,
                               CXFServiceUnit csu)

getServiceUnitForEndpoint

public final CXFServiceUnit getServiceUnitForEndpoint(javax.jbi.servicedesc.ServiceEndpoint ep)

stop

public final void stop(java.lang.String suName)
                throws javax.jbi.management.DeploymentException
Specified by:
stop in interface javax.jbi.component.ServiceUnitManager
Throws:
javax.jbi.management.DeploymentException


Apache CXF