1 17 package org.apache.servicemix.jbi.framework; 18 19 import javax.jbi.management.LifeCycleMBean; 20 import java.util.Properties ; 21 22 27 public interface AdminCommandsServiceMBean extends LifeCycleMBean { 28 29 String installComponent(String file) throws Exception ; 30 31 String installComponent(String file,Properties properties) throws Exception ; 32 33 String uninstallComponent(String name) throws Exception ; 34 35 String installSharedLibrary(String file) throws Exception ; 36 37 String uninstallSharedLibrary(String name) throws Exception ; 38 39 String startComponent(String name) throws Exception ; 40 41 String stopComponent(String name) throws Exception ; 42 43 String shutdownComponent(String name) throws Exception ; 44 45 String deployServiceAssembly(String file) throws Exception ; 46 47 String undeployServiceAssembly(String name) throws Exception ; 48 49 String startServiceAssembly(String name) throws Exception ; 50 51 String stopServiceAssembly(String name) throws Exception ; 52 53 String shutdownServiceAssembly(String name) throws Exception ; 54 55 String installArchive(String location) throws Exception ; 56 57 String listComponents(boolean excludeSEs, 58 boolean excludeBCs, 59 boolean excludePojos, 60 String requiredState, 61 String sharedLibraryName, 62 String serviceAssemblyName) throws Exception ; 63 64 String listSharedLibraries(String componentName, 65 String sharedLibraryName) throws Exception ; 66 67 String listServiceAssemblies(String state, 68 String componentName, 69 String serviceAssemblyName) throws Exception ; 70 } 71 | Popular Tags |