1 17 package javax.jbi.management; 18 19 public interface DeploymentServiceMBean 20 { 21 22 String deploy (String saZipURL) throws Exception ; 23 24 String undeploy (String saName) throws Exception ; 25 26 String [] getDeployedServiceUnitList (String componentName) throws Exception ; 27 28 String [] getDeployedServiceAssemblies () throws Exception ; 29 30 String getServiceAssemblyDescriptor (String saName) throws Exception ; 31 32 String [] getDeployedServiceAssembliesForComponent (String componentName) 33 throws Exception ; 34 35 String [] getComponentsForDeployedServiceAssembly (String saName) throws Exception ; 36 37 boolean isDeployedServiceUnit (String componentName, String suName) throws Exception ; 38 39 boolean canDeployToComponent (String componentName); 40 41 String start(String serviceAssemblyName) throws Exception ; 42 43 String stop(String serviceAssemblyName) throws Exception ; 44 45 String shutDown(String serviceAssemblyName) throws Exception ; 46 47 String getState(String serviceAssemblyName) throws Exception ; 48 49 static final String STARTED = "Started"; 50 51 static final String SHUTDOWN = "Shutdown"; 52 53 static final String STOPPED = "Stopped"; 54 } 55 | Popular Tags |