1 17 package org.apache.servicemix.jbi.framework; 18 19 import javax.jbi.management.DeploymentServiceMBean; 20 import javax.management.ObjectName ; 21 22 23 public interface ServiceAssemblyMBean { 24 25 public static final String STARTED = DeploymentServiceMBean.STARTED; 26 27 public static final String SHUTDOWN = DeploymentServiceMBean.SHUTDOWN; 28 29 public static final String STOPPED = DeploymentServiceMBean.STOPPED; 30 31 public String getName(); 32 33 public String getDescription(); 34 35 public String getCurrentState(); 36 37 public String getDescriptor(); 38 39 public ObjectName [] getServiceUnits(); 40 41 public String start() throws Exception ; 42 43 public String stop() throws Exception ; 44 45 public String shutDown() throws Exception ; 46 } 47 | Popular Tags |