public class AdminService extends Facade implements AdminServiceMBean
CONFIG_SCHEMA_PATH, DOMAIN, MASKED_FIELD_VALUE, mComponentConfigSchema, mEnvCtx, mLog, mMBeanNames, mMBeanSvr, mMgtCtx, mMsgBuilder, mPlatform, mTarget, mTranslator, PASSWORD, SERVER, sTypeMap, WORKSPACE_ROOT| Constructor and Description |
|---|
AdminService(EnvironmentContext ctx,
String target) |
| Modifier and Type | Method and Description |
|---|---|
ObjectName[] |
getBindingComponents()
Get a list of Facade ComponentLifeCycleMBean's for all binding components
currently installed on the target
|
ObjectName |
getComponentByName(String componentName)
Find the
ComponentLifeCycleMBean of a JBI Installable Component
by its unique name. |
ObjectName |
getComponentExtensionFacadeMBean(String componentName)
Query the component extension facade MBeanName.
|
ObjectName[] |
getEngineComponents()
Get a list of
ComponentLifeCycleMBeans for all service engines
currently installed in the JBI schemaorg_apache_xmlbeans.system. |
String |
getSystemInfo()
Return current version and other info about this JBI implementation.
|
ObjectName |
getSystemService(String serviceName)
Lookup a schemaorg_apache_xmlbeans.system service
LifeCycleMBean by name. |
ObjectName[] |
getSystemServices()
Looks up all JBI schemaorg_apache_xmlbeans.system services
LifeCycleMBean's currently
installed. |
boolean |
isBinding(String componentName)
Check if a given JBI component is a Binding Component.
|
boolean |
isEngine(String componentName)
Check if a given JBI component is a Service Engine.
|
archiveEqualityCheck, areAllInstancesUp, componentInstallationCheck, convertToString, fromFileURL, getAllTargets, getComponentConfigurationData, getComponentConfigurationNS, getComponentConfigurationSchema, getComponentLifeCycleMBeanName, getComponentQuery, getComponentQuery, getComponentState, getComponentStateOnInstance, getComponentType, getFacadeInstallerMBeanName, getFacadeInstallerMBeanName, getGenericQuery, getMBeanServerConnection, getRegistry, getRemoteAdminServiceObjectName, getRemoteAttribute, getRemoteAttributes, getServiceAssemblyQuery, getUpdater, handleClusteredInstanceFailures, initPrimitiveTypeMap, instanceRunningCheck, invokeLocalOperation, invokeRemoteOperation, invokeRemoteVoidOperation, isComponentInstalled, isInstanceRunning, isMBeanRegisteredOnInstance, isSharedLibraryInstalled, isTargetUp, mbeanRegistrationCheck, setRemoteAttribute, setRemoteAttributes, sharedLibraryInstallationCheck, throwNotSupportedManagementException, toFileURL, unregisterComponentConfigurationMBean, unregisterComponentConfigurationMBean, unregisterComponentExtensionMBean, unregisterComponentExtensionMBean, unregisterComponentLifeCycleMBean, unregisterComponentLifeCycleMBean, uploadFile, validateArchivepublic AdminService(EnvironmentContext ctx, String target) throws ManagementException
ctx - - EnvironmentContextasInfo - - AppServer Informationtarget - - administration targetManagementExceptionpublic ObjectName getSystemService(String serviceName)
LifeCycleMBean by name. System services
are implementation-defined services which can administered through JMX,
and have a life cycle.
System services are not related to service engines.
getSystemService in interface AdminServiceMBeanserviceName - name of the schemaorg_apache_xmlbeans.system service; must be non-null and non-
empty; values are implementation-dependentnull if there is no schemaorg_apache_xmlbeans.system service with the given
name.public ObjectName[] getSystemServices()
LifeCycleMBean's currently
installed. System services are implementation-defined services which can
administered through JMX. System services are not related to service
engines.getSystemServices in interface AdminServiceMBeanpublic ObjectName getComponentByName(String componentName)
ComponentLifeCycleMBean of a JBI Installable Component
by its unique name.getComponentByName in interface AdminServiceMBeancomponentName - the name of the engine or binding component; must be non-
null and non-emptynull if there is no such component with the given
namepublic ObjectName[] getBindingComponents()
getBindingComponents in interface AdminServiceMBeanpublic ObjectName[] getEngineComponents()
ComponentLifeCycleMBeans for all service engines
currently installed in the JBI schemaorg_apache_xmlbeans.system.getEngineComponents in interface AdminServiceMBeanpublic boolean isBinding(String componentName)
isBinding in interface AdminServiceMBeancomponentName - the unique name of the component; must be non-null
and non-emptytrue if the component is a binding component;
false if the component is a service engine or if
there is no component with the given componentName
installed in the JBI schemaorg_apache_xmlbeans.systempublic boolean isEngine(String componentName)
isEngine in interface AdminServiceMBeancomponentName - the unique name of the component; must be non-null
and non-emptytrue if the component is a service engine;
false if the component is a binding component, or if
there is no component with the given componentName
installed in the JBI schemaorg_apache_xmlbeans.systempublic String getSystemInfo()
getSystemInfo in interface AdminServiceMBeanpublic ObjectName getComponentExtensionFacadeMBean(String componentName)
componentName - - component identificationnull if there is no such MBean registered.Copyright © 2011-2016 OpenESB Community. All Rights Reserved.