1 17 package org.apache.servicemix.components.util; 18 19 import javax.jbi.component.ServiceUnitManager; 20 import javax.jbi.management.DeploymentException; 21 22 27 public class ServiceUnitManagerSupport implements ServiceUnitManager { 28 36 public String deploy(String serviceUnitName, String serviceUnitRootPath) throws DeploymentException { 37 return serviceUnitRootPath; 38 } 39 40 47 public void init(String serviceUnitName, String serviceUnitRootPath) throws DeploymentException { 48 } 49 50 56 public void shutDown(String saerviceUnitName) throws DeploymentException { 57 } 58 59 65 public void start(String serviceUnitName) throws DeploymentException { 66 } 67 68 74 public void stop(String serviceUnitName) throws DeploymentException { 75 } 76 77 85 public String undeploy(String serviceUnitName, String serviceUnitRootPath) throws DeploymentException { 86 return serviceUnitRootPath; 87 } 88 } | Popular Tags |