org.ow2.petals.component.framework.su
Class BindingComponentServiceUnitManager

java.lang.Object
  extended by org.ow2.petals.component.framework.su.AbstractServiceUnitManager
      extended by org.ow2.petals.component.framework.su.BindingComponentServiceUnitManager
All Implemented Interfaces:
javax.jbi.component.ServiceUnitManager

public class BindingComponentServiceUnitManager
extends AbstractServiceUnitManager

Like SimpleServiceUnitManager but start and stop listeners for external addresses.

Author:
ofabre - EBM WebSourcing

Field Summary
 
Fields inherited from class org.ow2.petals.component.framework.su.AbstractServiceUnitManager
component, logger
 
Constructor Summary
BindingComponentServiceUnitManager(AbstractBindingComponent bindingComponent)
           
 
Method Summary
 void init(java.lang.String serviceUnitName, java.lang.String suRootPath)
           
 void start(java.lang.String serviceUnitName)
           
 void stop(java.lang.String serviceUnitName)
           
 java.lang.String undeploy(java.lang.String serviceUnitName, java.lang.String serviceUnitRootPath)
           
 
Methods inherited from class org.ow2.petals.component.framework.su.AbstractServiceUnitManager
deploy, doDeploy, doInit, doShutdown, doStart, doStop, doUndeploy, getConsumesForEndpoint, getConsumesForInterface, getConsumesForService, getConsumesFromDestination, getEndpointsForServiceUnit, getProvidesFromEndpoint, getServiceDescription, getServiceUnitDataHandlers, getSUDataHandlerForConsumes, getSUDataHandlerForEndpoint, getSUDataHandlerForProvides, getSUDataHandlerForService, shutDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingComponentServiceUnitManager

public BindingComponentServiceUnitManager(AbstractBindingComponent bindingComponent)
Method Detail

init

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

start

public void start(java.lang.String serviceUnitName)
           throws javax.jbi.management.DeploymentException
Specified by:
start in interface javax.jbi.component.ServiceUnitManager
Overrides:
start in class AbstractServiceUnitManager
Throws:
javax.jbi.management.DeploymentException

stop

public void stop(java.lang.String serviceUnitName)
          throws javax.jbi.management.DeploymentException
Specified by:
stop in interface javax.jbi.component.ServiceUnitManager
Overrides:
stop in class AbstractServiceUnitManager
Throws:
javax.jbi.management.DeploymentException

undeploy

public java.lang.String undeploy(java.lang.String serviceUnitName,
                                 java.lang.String serviceUnitRootPath)
                          throws javax.jbi.management.DeploymentException
Specified by:
undeploy in interface javax.jbi.component.ServiceUnitManager
Overrides:
undeploy in class AbstractServiceUnitManager
Throws:
javax.jbi.management.DeploymentException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.