|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.jbi.management.BaseLifeCycle
org.apache.servicemix.jbi.management.BaseSystemService
org.apache.servicemix.jbi.framework.AdminCommandsService
public class AdminCommandsService
| Field Summary |
|---|
| Fields inherited from class org.apache.servicemix.jbi.management.BaseSystemService |
|---|
container |
| Fields inherited from class org.apache.servicemix.jbi.management.BaseLifeCycle |
|---|
currentState, INITIALIZED, listener |
| Fields inherited from interface javax.jbi.management.LifeCycleMBean |
|---|
SHUTDOWN, STARTED, STOPPED, UNKNOWN |
| Constructor Summary | |
|---|---|
AdminCommandsService()
|
|
| Method Summary | |
|---|---|
String |
deployServiceAssembly(String file,
boolean deferException)
Deploys a Service Assembly. |
String |
getDescription()
Get the Description of the item |
MBeanOperationInfo[] |
getOperationInfos()
Get an array of MBeanOperationInfo |
protected Class |
getServiceMBean()
|
String |
installArchive(String location)
load an archive from an external location and starts it The archive can be a Component, Service Assembly or Shared Library. |
String |
installComponent(String file,
Properties props,
boolean deferException)
Install a JBI component (a Service Engine or Binding Component) |
String |
installSharedLibrary(String file,
boolean deferException)
Installs a Shared Library. |
String |
listComponents(boolean excludeSEs,
boolean excludeBCs,
boolean excludePojos,
String requiredState,
String sharedLibraryName,
String serviceAssemblyName)
Prints information about all components (Service Engine or Binding Component) installed |
String |
listServiceAssemblies(String state,
String componentName,
String serviceAssemblyName)
Prints information about service assemblies deployed. |
String |
listSharedLibraries(String componentName,
String sharedLibraryName)
Prints information about shared libraries installed. |
String |
shutdownComponent(String name)
Shuts down a particular Component. |
String |
shutdownServiceAssembly(String name)
Shuts down a particular service assembly. |
String |
startComponent(String name)
Starts a particular Component (Service Engine or Binding Component). |
String |
startServiceAssembly(String name)
Starts a service assembly. |
String |
stopComponent(String name)
Stops a particular Component (Service Engine or Binding Component). |
String |
stopServiceAssembly(String name)
Stops a particular service assembly. |
String |
undeployServiceAssembly(String name)
Undeploys a previously deployed service assembly. |
String |
uninstallComponent(String name)
Uninstalls a previously install JBI Component (a Service Engine or Binding Component) |
String |
uninstallSharedLibrary(String name)
Uninstalls a previously installed Shared Library. |
| Methods inherited from class org.apache.servicemix.jbi.management.BaseSystemService |
|---|
getContainer, getName, getType, init, shutDown |
| Methods inherited from class org.apache.servicemix.jbi.management.BaseLifeCycle |
|---|
firePropertyChanged, getAttributeInfos, getCurrentState, getObjectToManage, getSubType, init, isInitialized, isShutDown, isStarted, isStopped, isUnknown, setCurrentState, setPropertyChangeListener, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.jbi.management.LifeCycleMBean |
|---|
getCurrentState, shutDown, start, stop |
| Constructor Detail |
|---|
public AdminCommandsService()
| Method Detail |
|---|
public String getDescription()
MBeanInfoProvider
getDescription in interface MBeanInfoProviderprotected Class getServiceMBean()
getServiceMBean in class BaseSystemService
public String installComponent(String file,
Properties props,
boolean deferException)
throws Exception
installComponent in interface AdminCommandsServiceMBeanfile - jbi component archive to installprops - installation properties
Exception
public String uninstallComponent(String name)
throws Exception
uninstallComponent in interface AdminCommandsServiceMBeanname -
Exception
public String installSharedLibrary(String file,
boolean deferException)
throws Exception
installSharedLibrary in interface AdminCommandsServiceMBeanfile -
Exception
public String uninstallSharedLibrary(String name)
throws Exception
uninstallSharedLibrary in interface AdminCommandsServiceMBeanname -
Exception
public String startComponent(String name)
throws Exception
startComponent in interface AdminCommandsServiceMBeanname -
Exception
public String stopComponent(String name)
throws Exception
stopComponent in interface AdminCommandsServiceMBeanname -
Exception
public String shutdownComponent(String name)
throws Exception
shutdownComponent in interface AdminCommandsServiceMBeanname -
Exception
public String deployServiceAssembly(String file,
boolean deferException)
throws Exception
deployServiceAssembly in interface AdminCommandsServiceMBeanfile -
Exception
public String undeployServiceAssembly(String name)
throws Exception
undeployServiceAssembly in interface AdminCommandsServiceMBeanname -
Exception
public String startServiceAssembly(String name)
throws Exception
startServiceAssembly in interface AdminCommandsServiceMBeanname -
Exception
public String stopServiceAssembly(String name)
throws Exception
stopServiceAssembly in interface AdminCommandsServiceMBeanname -
Exception
public String shutdownServiceAssembly(String name)
throws Exception
shutdownServiceAssembly in interface AdminCommandsServiceMBeanname -
Exception
public String installArchive(String location)
throws Exception
installArchive in interface AdminCommandsServiceMBeanlocation - -
can either be a url or filename (if relative - must be
relative to the container)
Exception
public String listComponents(boolean excludeSEs,
boolean excludeBCs,
boolean excludePojos,
String requiredState,
String sharedLibraryName,
String serviceAssemblyName)
throws Exception
listComponents in interface AdminCommandsServiceMBeanserviceEngines - bindingComponents - state - sharedLibraryName - serviceAssemblyName -
Exception
public String listSharedLibraries(String componentName,
String sharedLibraryName)
throws Exception
listSharedLibraries in interface AdminCommandsServiceMBeancomponentName - sharedLibraryName -
Exception
public String listServiceAssemblies(String state,
String componentName,
String serviceAssemblyName)
throws Exception
listServiceAssemblies in interface AdminCommandsServiceMBeanstate - componentName - serviceAssemblyName -
Exception
public MBeanOperationInfo[] getOperationInfos()
throws JMException
BaseLifeCycle
getOperationInfos in interface MBeanInfoProvidergetOperationInfos in class BaseLifeCycleJMException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||