public class RuntimeManagementServiceMBeanImpl extends AbstractListStateServiceMBeansImpl implements RuntimeManagementService, Serializable
ANY_FRAMEWORK_COMPONENT_STATE, COMPONENT_VERSION_NS, COMPONENT_VERSION_NS_NEW, COMPONENT_VERSION_XPATH_QUERY, FRAMEWORK_SA_ANY_STATE, FRAMEWORK_SA_SHUTDOWN_STATE, FRAMEWORK_SA_STARTED_STATE, FRAMEWORK_SA_STOPPED_STATE, FRAMEWORK_SU_SHUTDOWN_STATE, FRAMEWORK_SU_STARTED_STATE, FRAMEWORK_SU_STOPPED_STATE, FRAMEWORK_SU_UNKNOWN_STATE, SHARED_LIBRARY_VERSION_XPATH_QUERYCOLON, COMMA, COMPONENT_CONFIG_INSTANCE_ERROR_KEY, componentConfigurationHelper, CUSTOM_ADMINISTRATION_NAME_KEY, CUSTOM_CONFIGURATION_NAME_KEY, CUSTOM_LOGGER_NAME_KEY, CUSTOM_MANAGEMENT_ACTIONS_NAME_KEY, CUSTOM_STATISTICS_NAME_KEY, DOMAIN_TARGET_KEY, EBIJMXDOMAIN, environmentContext, EQUAL, IDENTIFICATION_NAME_KEY, JMX_EBI_DOMAIN, PASSWORD_MASK_CHARACTER, RUNNING_STATE, SERVER_TARGET_KEY, SERVICE_TYPE_KEY, STARTED_STATE| Constructor and Description |
|---|
RuntimeManagementServiceMBeanImpl(EnvironmentContext anEnvContext)
Constructor - Constructs a new instance of RuntimeManagementServiceMBeanImpl
|
| Modifier and Type | Method and Description |
|---|---|
String |
listBindingComponents(String targetName)
return component info xml text that has only binding component infos.
|
Map<String,String> |
listBindingComponents(String[] targetNames)
return component info xml text that has only binding component infos.
|
String |
listBindingComponents(String state,
String sharedLibraryName,
String serviceAssemblyName,
String targetName)
return component info xml text that has only binding component infos
which satisfies the options passed to the method.
|
Map<String,String> |
listBindingComponents(String state,
String sharedLibraryName,
String serviceAssemblyName,
String[] targetNames)
return component info xml text that has only binding component infos
which satisfies the options passed to the method.
|
String |
listServiceAssemblies(String targetName)
returns a list of Service Assembly Infos in a xml format.
|
Map<String,String> |
listServiceAssemblies(String[] targetNames)
returns a list of Service Assembly Infos in a xml format.
|
String |
listServiceAssemblies(String componentName,
String targetName)
returns the list of service asssembly infos in a xml format that have the
service unit deployed on the specified component.
|
Map<String,String> |
listServiceAssemblies(String componentName,
String[] targetNames)
returns the list of service assembly infos in a xml format that have the
service unit deployed on the specified component.
|
String |
listServiceAssemblies(String state,
String componentName,
String targetName)
returns the list of service asssembly infos in a xml format that have the
service unit deployed on the specified component.
|
Map<String,String> |
listServiceAssemblies(String state,
String componentName,
String[] targetNames)
returns the list of service asssembly infos in a xml format that have the
service unit deployed on the specified component.
|
String |
listServiceEngines(String targetName)
return component info xml text that has only service engine infos.
|
Map<String,String> |
listServiceEngines(String[] targetNames)
return component info xml text that has only service engine infos.
|
String |
listServiceEngines(String state,
String sharedLibraryName,
String serviceAssemblyName,
String targetName)
return component info xml text that has only service engine infos which
satisfies the options passed to the method.
|
Map<String,String> |
listServiceEngines(String state,
String sharedLibraryName,
String serviceAssemblyName,
String[] targetNames)
return component info xml text that has only service engine infos which
satisfies the options passed to the method.
|
String |
listSharedLibraries(String targetName)
return component info xml text that has only shared library infos.
|
Map<String,String> |
listSharedLibraries(String[] targetNames)
return component info xml text that has only shared library infos.
|
String |
listSharedLibraries(String componentName,
String targetName)
returns the list of Shared Library infos in the in a xml format
|
Map<String,String> |
listSharedLibraries(String componentName,
String[] targetNames)
returns the list of Shared Library infos in the in a xml format
|
String |
listSharedLibraryDependents(String sharedLibraryName,
String targetName)
returns a list of Binding Component and Service Engine infos in xml
format, that are dependent upon a specified Shared Library
|
Map<String,String> |
listSharedLibraryDependents(String sharedLibraryName,
String[] targetNames)
returns a list of Binding Component and Service Engine infos in xml
format, that are dependent upon a specified Shared Library
|
String |
showBindingComponent(String name,
String state,
String sharedLibraryName,
String serviceAssemblyName,
String targetName)
return component info xml text for the specified binding component if
exists.
|
Map<String,String> |
showBindingComponent(String name,
String state,
String sharedLibraryName,
String serviceAssemblyName,
String[] targetNames)
return component info xml text for the specified binding component if
exists.
|
protected String |
showComponent(String name,
ComponentType type,
String state,
String sharedLibraryName,
String serviceAssemblyName,
String targetName)
return component info xml text for the specified service engine if
exists.
|
String |
showServiceAssembly(String name,
String state,
String componentName,
String targetName)
return service assembly info xml text for the specified service assembly
if exists.
|
Map<String,String> |
showServiceAssembly(String name,
String state,
String componentName,
String[] targetNames)
return service assembly info xml text for the specified service assembly
if exists.
|
String |
showServiceEngine(String name,
String state,
String sharedLibraryName,
String serviceAssemblyName,
String targetName)
return component info xml text for the specified service engine if
exists.
|
Map<String,String> |
showServiceEngine(String name,
String state,
String sharedLibraryName,
String serviceAssemblyName,
String[] targetNames)
return component info xml text for the specified service engine if
exists.
|
String |
showSharedLibrary(String name,
String componentName,
String targetName)
return component info xml text for the specified shared library if
exists.
|
Map<String,String> |
showSharedLibrary(String name,
String componentName,
String[] targetNames)
return component info xml text for the specified shared library if
exists.
|
String |
shutdownComponent(String componentName,
boolean force,
String targetName)
shuts down component ( service engine, binding component)
|
Map<String,String> |
shutdownComponent(String componentName,
boolean force,
String[] targetNames)
shuts down component (service engine, binding component)
|
String |
shutdownComponent(String componentName,
String targetName)
shuts down component ( service engine, binding component)
|
Map<String,String> |
shutdownComponent(String componentName,
String[] targetNames)
shuts down component (service engine, binding component)
|
String |
shutdownServiceAssembly(String serviceAssemblyName,
boolean forceShutdown,
String targetName)
shuts down service assembly
|
Map<String,String> |
shutdownServiceAssembly(String serviceAssemblyName,
boolean forceShutdown,
String[] targetNames)
shuts down service assembly
|
String |
shutdownServiceAssembly(String serviceAssemblyName,
String targetName)
shuts down service assembly
|
Map<String,String> |
shutdownServiceAssembly(String serviceAssemblyName,
String[] targetNames)
shuts down service assembly
|
protected String |
shutdownServiceAssemblyInternal(String serviceAssemblyName,
boolean force,
String targetName)
shuts down service assembly
|
String |
startComponent(String componentName,
String targetName)
starts component ( service engine, binding component)
|
Map<String,String> |
startComponent(String componentName,
String[] targetNames)
starts component ( service engine, binding component)
|
String |
startServiceAssembly(String serviceAssemblyName,
String targetName)
starts service assembly
|
Map<String,String> |
startServiceAssembly(String serviceAssemblyName,
String[] targetNames)
starts service assembly
|
String |
stopComponent(String componentName,
String targetName)
stops component ( service engine, binding component)
|
Map<String,String> |
stopComponent(String componentName,
String[] targetNames)
stops component ( service engine, binding component)
|
String |
stopServiceAssembly(String serviceAssemblyName,
String targetName)
stops service assembly
|
Map<String,String> |
stopServiceAssembly(String serviceAssemblyName,
String[] targetNames)
stops service assembly
|
componentInstalledOnTargetCheck, componentStartedOnTargetCheck, getComponentLifeCycleMBeanObjectName, getComponentNamesDependentOnServiceAssembly, getComponentNamesDependentOnServiceAssembly, getComponentNamesDependentOnSharedLibrary, getComponentNamesDependentOnSharedLibrary, getComponentNamesDependentOnSharedLibraryAndServiceAssembly, getComponentNamesWithStatus, getComponentState, getConfigurationDescriptors, getFrameworkComponentInfoList, getFrameworkComponentInfoListForEnginesAndBindings, getFrameworkComponentInfoListForSharedLibraries, getFrameworkComponentInfoListForSharedLibraryNames, getFrameworkComponentQuery, getServiceAssemblyInfoList, getSystemLoggerMBeans, getUiComponentInfoList, isExistingComponent, isExistingSharedLibrary, listComponents, targetUpCheck, toFrameworkComponentInfoState, toFrameworkComponentInfoType, toFrameworkServiceAssemblyState, toUiComponentInfo, toUiComponentInfoList, toUiComponentInfoState, toUiComponentInfoType, toUiServiceAssemblyState, toUiServiceUnitState, updateEachServiceUnitInfoStateInServiceAssemblyInfo, updateServiceAssemblyInfoState, updateServiceUnitInfoState, validateUiJBIComponentInfoState, validateUiServiceAssemblyInfoStatecheckForValidTarget, checkForValidTarget, checkTargetType, constructMBeanAttributes, constructMBeanAttributes, constructMBeanAttributes, createManagementException, createManagementMessage, domainTargetCheck, findLiveExtensionMBeanObjectNames, getAdminServiceMBeanObjectName, getAdminServiceMBeanObjectName, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValue, getComponentExtensionMBeanObjectNames, getComponentExtensionMBeanObjectNames, getDeploymentServiceMBeanObjectName, getEbiJmxDomain, getEbiStatusMBeanObjectName, getEnvironmentContext, getExtensionMBeanObjectName, getI18NBundle, getI18NBundle, getInstallationServiceMBeanObjectName, getMBeanAttribute, getMBeanAttributeValues, getMBeanAttributeValuesAsMap, getMBeanServerConnection, getPlatformContext, getPlatformContextAdminServerName, getPlatformContextClusteredServerNames, getPlatformContextClusterNames, getPlatformContextInstallRoot, getPlatformContextInstanceName, getPlatformContextInstanceRoot, getPlatformContextJmxRmiPort, getPlatformContextMBeanServer, getPlatformContextServersInCluster, getPlatformContextStandaloneServerNames, getPlatformContextTargetName, getPlatformContextTargetName, getStackTrace, invokeMBeanOperation, invokeMBeanOperation, invokeMBeanOperation, invokeMBeanOperation, invokeMBeanOperation, isMBeanRegistered, isPlatformContextAdminServer, isPlatformContextCluster, isPlatformContextClusteredServer, isPlatformContextInstanceClustered, isPlatformContextInstanceUp, isPlatformContextStandaloneServer, isPlatformContextValidTarget, isTargetUp, isValidTarget, isValidTarget, listTargetNames, log, logDebug, logDebug, logError, logWarning, platformContextSupportsMultipleServers, setAttributeValue, setAttributeValue, setAttributeValue, setLevel, setMBeanAttribute, setMBeanAttributes, setMBeanAttributes, setMBeanConfigAttributes, setMBeanConfigAttributespublic RuntimeManagementServiceMBeanImpl(EnvironmentContext anEnvContext)
anEnvContext - public String listBindingComponents(String targetName) throws ManagementRemoteException
listBindingComponents in interface RuntimeManagementServicetargetName - ManagementRemoteException - on errorRuntimeManagementService.listBindingComponents(java.lang.String)public String listBindingComponents(String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws ManagementRemoteException
listBindingComponents in interface RuntimeManagementServicestate - return all the binding components that are in the specified
state. valid states are JBIComponentInfo.STARTED, STOPPED,
INSTALLED or null for ANY statesharedLibraryName - return all the binding components that have a dependency on
the specified shared library. null value to ignore this
option.serviceAssemblyName - return all the binding components that have the specified
service assembly deployed on them. null value to ignore this
option.targetName - ManagementRemoteException - if error or exception occurs.RuntimeManagementService.listBindingComponents(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)public String listServiceAssemblies(String targetName) throws ManagementRemoteException
listServiceAssemblies in interface RuntimeManagementServicetargetName - ManagementRemoteException - on errorRuntimeManagementService.listServiceAssemblies(java.lang.String)public String listServiceAssemblies(String componentName, String targetName) throws ManagementRemoteException
listServiceAssemblies in interface RuntimeManagementServicecomponentName - to list all the service assemblies that have some deployments
on this component.targetName - ManagementRemoteException - if error or exception occurs.RuntimeManagementService.listServiceAssemblies(java.lang.String,
java.lang.String)public String listServiceAssemblies(String state, String componentName, String targetName) throws ManagementRemoteException
listServiceAssemblies in interface RuntimeManagementServicestate - to return all the service assemblies that are in the specified
state. JBIServiceAssemblyInfo.STARTED, STOPPED, SHUTDOWN or
null for ANY statecomponentName - to list all the service assemblies that have some deployments
on this component.targetName - ManagementRemoteException - if error or exception occurs.RuntimeManagementService.listServiceAssemblies(java.lang.String,
java.lang.String, java.lang.String)public String listServiceEngines(String targetName) throws ManagementRemoteException
listServiceEngines in interface RuntimeManagementServicetargetName - ManagementRemoteException - on errorRuntimeManagementService.listServiceEngines(java.lang.String)public String listServiceEngines(String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws ManagementRemoteException
listServiceEngines in interface RuntimeManagementServicestate - return all the service engines that are in the specified
state. valid states are JBIComponentInfo.STARTED, STOPPED,
INSTALLED or null for ANY statesharedLibraryName - return all the service engines that have a dependency on the
specified shared library. null value to ignore this option.serviceAssemblyName - return all the service engines that have the specified service
assembly deployed on them. null value to ignore this option.targetName - ManagementRemoteException - if error or exception occurs.RuntimeManagementService.listServiceEngines(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)public String listSharedLibraries(String targetName) throws ManagementRemoteException
listSharedLibraries in interface RuntimeManagementServicetargetName - ManagementRemoteException - on errorRuntimeManagementService.listSharedLibraries(java.lang.String)public String listSharedLibraries(String componentName, String targetName) throws ManagementRemoteException
listSharedLibraries in interface RuntimeManagementServicecomponentName - to return only the shared libraries that are this component
dependents. null for listing all the shared libraries in the
schemaorg_apache_xmlbeans.system.targetName - ManagementRemoteException - if error or exception occurs.RuntimeManagementService.listSharedLibraries(java.lang.String,
java.lang.String)public String listSharedLibraryDependents(String sharedLibraryName, String targetName) throws ManagementRemoteException
listSharedLibraryDependents in interface RuntimeManagementServicesharedLibraryName - the shared library nametargetName - ManagementRemoteException - on errorRuntimeManagementService.listSharedLibraryDependents(java.lang.String,
java.lang.String)public String showBindingComponent(String name, String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws ManagementRemoteException
showBindingComponent in interface RuntimeManagementServicename - name of the binding component to lookupstate - return the binding component that is in the specified state.
valid states are JBIComponentInfo.STARTED, STOPPED, INSTALLED
or null for ANY statesharedLibraryName - return the binding component that has a dependency on the
specified shared library. null value to ignore this option.serviceAssemblyName - return the binding component that has the specified service
assembly deployed on it. null value to ignore this option.targetName - ManagementRemoteException - if error or exception occurs.RuntimeManagementService.showBindingComponent(java.lang.String,
java.lang.String, java.lang.String, java.lang.String,
java.lang.String)public String showServiceAssembly(String name, String state, String componentName, String targetName) throws ManagementRemoteException
showServiceAssembly in interface RuntimeManagementServicename - name of the service assembly to lookupstate - return the service assembly that is in the specified state.
JBIServiceAssemblyInfo.STARTED, STOPPED, SHUTDOWN or null for
ANY statecomponentName - return the service assembly that has service units on this
component.targetName - ManagementRemoteException - if error or exception occurs.RuntimeManagementService.showServiceAssembly(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)public String showServiceEngine(String name, String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws ManagementRemoteException
showServiceEngine in interface RuntimeManagementServicename - name of the service engine to lookupstate - return service engine that is in the specified state. valid
states are JBIComponentInfo.STARTED, STOPPED, INSTALLED or
null for ANY statesharedLibraryName - return service engine that has a dependency on the specified
shared library. null value to ignore this option.serviceAssemblyName - return the service engine that has the specified service
assembly deployed on it. null value to ignore this option.targetName - ManagementRemoteException - if error or exception occurs.RuntimeManagementService.showServiceEngine(java.lang.String,
java.lang.String, java.lang.String, java.lang.String,
java.lang.String)public String showSharedLibrary(String name, String componentName, String targetName) throws ManagementRemoteException
showSharedLibrary in interface RuntimeManagementServicename - name of the shared library to lookupcomponentName - return the shared library that is this component dependents.
null to ignore this option.targetName - ManagementRemoteException - if error or exception occurs.RuntimeManagementService.showSharedLibrary(java.lang.String,
java.lang.String, java.lang.String)public String shutdownComponent(String componentName, boolean force, String targetName) throws ManagementRemoteException
shutdownComponent in interface RuntimeManagementServiceforce - true to force shutdowncomponentName - name of the componenttargetName - ManagementRemoteException - on errorRuntimeManagementService.shutdownComponent(java.lang.String,
boolean, java.lang.String)public String shutdownComponent(String componentName, String targetName) throws ManagementRemoteException
shutdownComponent in interface RuntimeManagementServicecomponentName - name of the componenttargetName - ManagementRemoteException - on errorRuntimeManagementService.shutdownComponent(java.lang.String,
java.lang.String)public String shutdownServiceAssembly(String serviceAssemblyName, boolean forceShutdown, String targetName) throws ManagementRemoteException
shutdownServiceAssembly in interface RuntimeManagementServiceserviceAssemblyName - name of the service assemblyforceShutdown - targetName - name of the target for this operationManagementRemoteException - on errorRuntimeManagementService.shutdownServiceAssembly(java.lang.String,
boolean, java.lang.String)public String shutdownServiceAssembly(String serviceAssemblyName, String targetName) throws ManagementRemoteException
shutdownServiceAssembly in interface RuntimeManagementServiceserviceAssemblyName - name of the service assemblytargetName - ManagementRemoteException - on errorRuntimeManagementService.shutdownServiceAssembly(java.lang.String,
java.lang.String)public String startComponent(String componentName, String targetName) throws ManagementRemoteException
startComponent in interface RuntimeManagementServicecomponentName - name of the componenttargetName - ManagementRemoteException - on errorRuntimeManagementService.startComponent(java.lang.String,
java.lang.String)public String startServiceAssembly(String serviceAssemblyName, String targetName) throws ManagementRemoteException
startServiceAssembly in interface RuntimeManagementServiceserviceAssemblyName - name of the service assemblytargetName - ManagementRemoteException - on errorRuntimeManagementService.startServiceAssembly(java.lang.String,
java.lang.String)public String stopComponent(String componentName, String targetName) throws ManagementRemoteException
stopComponent in interface RuntimeManagementServicecomponentName - name of the componenttargetName - ManagementRemoteException - on errorRuntimeManagementService.stopComponent(java.lang.String,
java.lang.String)public String stopServiceAssembly(String serviceAssemblyName, String targetName) throws ManagementRemoteException
stopServiceAssembly in interface RuntimeManagementServiceserviceAssemblyName - name of the service assemblytargetName - ManagementRemoteException - on errorRuntimeManagementService.stopServiceAssembly(java.lang.String,
java.lang.String)public Map<String,String> listBindingComponents(String[] targetNames) throws ManagementRemoteException
listBindingComponents in interface RuntimeManagementServicetargetNames - ManagementRemoteException - on errorpublic Map<String,String> listBindingComponents(String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) throws ManagementRemoteException
listBindingComponents in interface RuntimeManagementServicestate - return all the binding components that are in the specified
state. valid states are JBIComponentInfo.STARTED, STOPPED,
INSTALLED or null for ANY statesharedLibraryName - return all the binding components that have a dependency on
the specified shared library. null value to ignore this
option.serviceAssemblyName - return all the binding components that have the specified
service assembly deployed on them. null value to ignore this
option.targetName - ManagementRemoteException - if error or exception occurs.public Map<String,String> listServiceAssemblies(String[] targetNames) throws ManagementRemoteException
listServiceAssemblies in interface RuntimeManagementServicetargetNames - ManagementRemoteException - on errorpublic Map<String,String> listServiceAssemblies(String componentName, String[] targetNames) throws ManagementRemoteException
listServiceAssemblies in interface RuntimeManagementServicecomponentName - to list all the service assemblies that have some deployments
on this component.targetNames - ManagementRemoteException - if error or exception occurs.public Map<String,String> listServiceAssemblies(String state, String componentName, String[] targetNames) throws ManagementRemoteException
listServiceAssemblies in interface RuntimeManagementServicestate - to return all the service assemblies that are in the specified
state. JBIServiceAssemblyInfo.STARTED, STOPPED, SHUTDOWN or
null for ANY statecomponentName - to list all the service assemblies that have some deployments
on this component.targetNames - ManagementRemoteException - if error or exception occurs.public Map<String,String> listServiceEngines(String[] targetNames) throws ManagementRemoteException
listServiceEngines in interface RuntimeManagementServicetargetName - ManagementRemoteException - on errorpublic Map<String,String> listServiceEngines(String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) throws ManagementRemoteException
listServiceEngines in interface RuntimeManagementServicestate - return all the service engines that are in the specified
state. valid states are JBIComponentInfo.STARTED, STOPPED,
INSTALLED or null for ANY statesharedLibraryName - return all the service engines that have a dependency on the
specified shared library. null value to ignore this option.serviceAssemblyName - return all the service engines that have the specified service
assembly deployed on them. null value to ignore this option.targetName - ManagementRemoteException - if error or exception occurs.public Map<String,String> listSharedLibraries(String[] targetNames) throws ManagementRemoteException
listSharedLibraries in interface RuntimeManagementServicetargetName - ManagementRemoteException - on errorpublic Map<String,String> listSharedLibraries(String componentName, String[] targetNames) throws ManagementRemoteException
listSharedLibraries in interface RuntimeManagementServicecomponentName - to return only the shared libraries that are this component
dependents. null for listing all the shared libraries in the
schemaorg_apache_xmlbeans.system.targetName - ManagementRemoteException - if error or exception occurs.public Map<String,String> listSharedLibraryDependents(String sharedLibraryName, String[] targetNames) throws ManagementRemoteException
listSharedLibraryDependents in interface RuntimeManagementServicesharedLibraryName - the shared library nametargetName - ManagementRemoteException - on errorpublic Map<String,String> showBindingComponent(String name, String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) throws ManagementRemoteException
showBindingComponent in interface RuntimeManagementServicename - name of the binding component to lookupstate - return the binding component that is in the specified state.
valid states are JBIComponentInfo.STARTED, STOPPED, INSTALLED
or null for ANY statesharedLibraryName - return the binding component that has a dependency on the
specified shared library. null value to ignore this option.serviceAssemblyName - return the binding component that has the specified service
assembly deployed on it. null value to ignore this option.targetName - ManagementRemoteException - if error or exception occurs.public Map<String,String> showServiceAssembly(String name, String state, String componentName, String[] targetNames) throws ManagementRemoteException
showServiceAssembly in interface RuntimeManagementServicename - name of the service assembly to lookupstate - return the service assembly that is in the specified state.
JBIServiceAssemblyInfo.STARTED, STOPPED, SHUTDOWN or null for
ANY statecomponentName - return the service assembly that has service units on this
component.targetNames - ManagementRemoteException - if error or exception occurs.public Map<String,String> showServiceEngine(String name, String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) throws ManagementRemoteException
showServiceEngine in interface RuntimeManagementServicename - name of the service engine to lookupstate - return service engine that is in the specified state. valid
states are JBIComponentInfo.STARTED, STOPPED, INSTALLED or
null for ANY statesharedLibraryName - return service engine that has a dependency on the specified
shared library. null value to ignore this option.serviceAssemblyName - return the service engine that has the specified service
assembly deployed on it. null value to ignore this option.targetName - ManagementRemoteException - if error or exception occurs.public Map<String,String> showSharedLibrary(String name, String componentName, String[] targetNames) throws ManagementRemoteException
showSharedLibrary in interface RuntimeManagementServicename - name of the shared library to lookupcomponentName - return the shared library that is this component dependents.
null to ignore this option.targetName - ManagementRemoteException - if error or exception occurs.public Map<String,String> shutdownComponent(String componentName, String[] targetNames) throws ManagementRemoteException
shutdownComponent in interface RuntimeManagementServicecomponentName - name of the componenttargetNames - ManagementRemoteException - on errorpublic Map<String,String> shutdownComponent(String componentName, boolean force, String[] targetNames) throws ManagementRemoteException
shutdownComponent in interface RuntimeManagementServicecomponentName - name of the componentforce - true to force shutdowntargetNames - ManagementRemoteException - on errorpublic Map<String,String> shutdownServiceAssembly(String serviceAssemblyName, String[] targetNames) throws ManagementRemoteException
shutdownServiceAssembly in interface RuntimeManagementServiceserviceAssemblyName - name of the service assemblytargetNames - ManagementRemoteException - on errorpublic Map<String,String> shutdownServiceAssembly(String serviceAssemblyName, boolean forceShutdown, String[] targetNames) throws ManagementRemoteException
shutdownServiceAssembly in interface RuntimeManagementServiceserviceAssemblyName - name of the service assemblyforceShutdown - targetName - name of the target for this operationManagementRemoteException - on errorpublic Map<String,String> startComponent(String componentName, String[] targetNames) throws ManagementRemoteException
startComponent in interface RuntimeManagementServicecomponentName - name of the componenttargetNames - ManagementRemoteException - on errorpublic Map<String,String> startServiceAssembly(String serviceAssemblyName, String[] targetNames) throws ManagementRemoteException
startServiceAssembly in interface RuntimeManagementServiceserviceAssemblyName - name of the service assemblytargetNames - ManagementRemoteException - on errorpublic Map<String,String> stopComponent(String componentName, String[] targetNames) throws ManagementRemoteException
stopComponent in interface RuntimeManagementServicecomponentName - name of the componenttargetNames - ManagementRemoteException - on errorpublic Map<String,String> stopServiceAssembly(String serviceAssemblyName, String[] targetNames) throws ManagementRemoteException
stopServiceAssembly in interface RuntimeManagementServiceserviceAssemblyName - name of the service assemblytargetNames - ManagementRemoteException - on errorprotected String showComponent(String name, ComponentType type, String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws ManagementRemoteException
name - name of the service engine to lookuptype - ENGINE or BINDINGstate - to return all the service engines that are in the specified
state. JBIComponentInfo.STARTED, STOPPED, INSTALLED or null
for ANY statesharedLibraryName - to return all the service engines that have a dependency on
the specified shared library. Could be null for not filtering
the service engines for this dependency.serviceAssemblyName - to return all the service engines that have the specified
service assembly deployed on them. Could be null for not
filtering the service engines for this dependency.targetName - ManagementRemoteException - if error or exception occurs.protected String shutdownServiceAssemblyInternal(String serviceAssemblyName, boolean force, String targetName) throws ManagementRemoteException
serviceAssemblyName - name of the service assemblyforce - targetName - ManagementRemoteException - on errorCopyright © 2011-2016 OpenESB Community. All Rights Reserved.