public class MBeanNamesImpl extends Object implements MBeanNames
MBeanNames.ComponentServiceType, MBeanNames.ServiceName, MBeanNames.ServiceType| Modifier and Type | Field and Description |
|---|---|
static String |
JBI_DOMAIN |
static String |
SERVICE_NAME_KEY |
static String |
SERVICE_TYPE_KEY |
COMPONENT_ID_KEY, COMPONENT_TYPE_INSTALLED, COMPONENT_TYPE_KEY, COMPONENT_TYPE_SYSTEM, CONTROL_TYPE_ADMIN_SERVICE, CONTROL_TYPE_CONFIG_SERVICE, CONTROL_TYPE_CONFIGURATION, CONTROL_TYPE_CONTROLLER, CONTROL_TYPE_CUSTOM, CONTROL_TYPE_DEPLOY_SERVICE, CONTROL_TYPE_DEPLOYER, CONTROL_TYPE_INSTALL_SERVICE, CONTROL_TYPE_INSTALLER, CONTROL_TYPE_KEY, CONTROL_TYPE_LIFECYCLE, CONTROL_TYPE_LOGGER, CONTROL_TYPE_LOGGING_SERVICE, CONTROL_TYPE_MESSAGE_SERVICE, CONTROL_TYPE_NOTIFICATION, CONTROL_TYPE_STATISTICS, CONTROL_TYPE_SYSTEM, CUSTOM_CONTROL_NAME_KEY, EVENT_MANAGEMENT_MBEAN_NAME, EVENTMANAGEMENT_CONTROLLER_MBEAN_NAME, INSTALLED_TYPE_BINDING, INSTALLED_TYPE_ENGINE, INSTALLED_TYPE_KEY, INSTANCE_NAME_KEY, LOGGER_NAME_KEY, SERVICE_NAME_ADMIN_SERVICE, SERVICE_NAME_CONFIG_SERVICE, SERVICE_NAME_DEPLOY_SERVICE, SERVICE_NAME_FRAMEWORK, SERVICE_NAME_INSTALL_SERVICE, SERVICE_NAME_JBI, SERVICE_NAME_LOGGING_SERVICE, SERVICE_NAME_MESSAGE_SERVICEBOOTSTRAP_EXTENSION, COMPONENT_LIFE_CYCLE_EXTENSION| Constructor and Description |
|---|
MBeanNamesImpl(String jmxDomain,
String instanceName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectName |
createCustomComponentMBeanName(String customName)
Formulate and return an MBean ObjectName for a custom control of this
name creator's JBI component.
|
ObjectName |
getBindingMBeanName(String bindingName,
MBeanNames.ComponentServiceType serviceType,
String target)
Returns object name of type a Binding Object Name:
com.sun.jbi:Target={target}, ServiceType={serviceType},
ComponentName="bindingName"
|
ObjectName |
getBindingMBeanName(String bindingName,
String controlType)
Formulate and return the MBean ObjectName of a control MBean for a
Binding Component.
|
ObjectName |
getComponentExtensionFacadeMBeanName(String componentName,
String target)
Returns the ObjectName of the ComponentExtension facade MBean registered for
the component.
|
ObjectName |
getComponentLoggerMBeanNameFilter(String instanceName,
String componentName)
Returns the ObjectName to be used to filter Logger MBeans registered for a component :
com.sun.jbi:JbiName=instanceName,CustomControlName=logName,ComponentName=mComponentName,ControlType=Logger,*
|
ObjectName |
getComponentMBeanName(String compName,
ComponentType compType,
MBeanNames.ComponentServiceType serviceType,
String target)
Utility method to get a component's MBean name based on the component's
type (binding or engine).
|
ObjectName |
getCustomBindingMBeanName(String customName,
String bindingName)
Formulate and return the MBean ObjectName of custom control MBean for a
Binding Component.
|
ObjectName |
getCustomComponentMBeanNameFilter(String instanceName,
String customName,
String componentName)
Returns the ObjectName to be used to filter component registered custom MBeans :
com.sun.jbi:JbiName={instanceName}, ControlType=Custom
|
ObjectName |
getCustomEngineMBeanName(String customName,
String engineName)
Formulate and return the MBean ObjectName of custom control MBean for a
Service Engine.
|
ObjectName |
getEngineMBeanName(String engineName,
MBeanNames.ComponentServiceType serviceType,
String target)
Returns object name of type a Engine Object Name:
com.sun.jbi:Target={target}, ServiceType={serviceType},
ComponentName="engineName"
|
ObjectName |
getEngineMBeanName(String engineName,
String controlType)
Formulate and return the MBean ObjectName of a control MBean for a
Service Engine.
|
String |
getJbiInstanceName()
Return the name of this JBI Framework runtime
|
String |
getJmxDomainName()
Retrieve the default JMX Domain Name for MBeans registered in this
instance of the JBI implementation.
|
ObjectName |
getLocalSystemServiceMBeanName(String name,
String type)
Formulate and return the MBean ObjectName of a local JBI Framework schemaorg_apache_xmlbeans.system
service.
|
ObjectName |
getSystemServiceLoggerMBeanName(String name,
Logger logger)
Formulate and return the LoggerMBean ObjectName of a JBI Framework schemaorg_apache_xmlbeans.system
service.
|
ObjectName |
getSystemServiceMBeanName(MBeanNames.ServiceName serviceName,
MBeanNames.ServiceType serviceType,
String target)
Returns object name of type a SystemService Object Name:
com.sun.jbi:Target={target},ServiceName={serviceName},ServiceType={serviceType}
|
ObjectName |
getSystemServiceMBeanName(String serviceName,
String type)
Formulate and return the MBean ObjectName of control MBean for a JBI
schemaorg_apache_xmlbeans.system service.
|
ObjectName |
getSystemServiceMBeanName(String serviceName,
String type,
String instanceName)
Formulate and return the MBean ObjectName of control MBean for a JBI
schemaorg_apache_xmlbeans.system service for the specified instance name.
|
public static final String JBI_DOMAIN
public static final String SERVICE_TYPE_KEY
public static final String SERVICE_NAME_KEY
public String getJmxDomainName()
getJmxDomainName in interface MBeanNamespublic ObjectName createCustomComponentMBeanName(String customName)
This is used by components to create JMX names for their own JMX controls, allowing the JBI implementation to prefix the created name to fit within the implementation's own naming scheme.
Standard extensions must use the following custom name constants:
MBeanNames.BOOTSTRAP_EXTENSION.MBeanNames.COMPONENT_LIFE_CYCLE_EXTENSION. createCustomComponentMBeanName in interface MBeanNamescustomName - the name of the custom control; must be non-null and
non-empty; must be legal for use in a JMX object namenull if the
customName is invalidpublic ObjectName getComponentMBeanName(String compName, ComponentType compType, MBeanNames.ComponentServiceType serviceType, String target)
componentName - component nameserviceType - type of MBeantarget - administration targetpublic ObjectName getBindingMBeanName(String bindingName, String controlType)
bindingName - the name of the Binding Component.controlType - the type of control (MBean type).null if
controlType is invalid.public ObjectName getCustomBindingMBeanName(String customName, String bindingName)
customName - the name of the custom control.bindingName - the name of the Binding Component.null if illegal name.public ObjectName getCustomEngineMBeanName(String customName, String engineName)
customName - the name of the custom control.engineName - the name of the Service Engine.null if illegal name.public ObjectName getEngineMBeanName(String engineName, String controlType)
engineName - the name of the Service Engine.controlType - the type of control (MBean type).null if
controlType is invalid.public ObjectName getSystemServiceMBeanName(String serviceName, String type)
serviceName - the name of the schemaorg_apache_xmlbeans.system service.type - the type of the MBean.public ObjectName getSystemServiceMBeanName(String serviceName, String type, String instanceName)
serviceName - the name of the schemaorg_apache_xmlbeans.system service.type - the type of the MBean.instanceName - the name of the server instance.public ObjectName getSystemServiceLoggerMBeanName(String name, Logger logger)
name - -
the name of the schemaorg_apache_xmlbeans.system service.logger - -
the Logger instance.public String getJbiInstanceName()
public ObjectName getLocalSystemServiceMBeanName(String name, String type)
name - -
the name of the schemaorg_apache_xmlbeans.system servicetype - -
the type of the MBeanpublic ObjectName getBindingMBeanName(String bindingName, MBeanNames.ComponentServiceType serviceType, String target)
bindingName - -
binding component nameserviceType - target - -
administration targetpublic ObjectName getEngineMBeanName(String engineName, MBeanNames.ComponentServiceType serviceType, String target)
engineName - -
service engine nameserviceType - target - -
administration targetpublic ObjectName getSystemServiceMBeanName(MBeanNames.ServiceName serviceName, MBeanNames.ServiceType serviceType, String target)
serviceName - the schemaorg_apache_xmlbeans.system service nameserviceType - the schemaorg_apache_xmlbeans.system service typetarget - -
administration targetpublic ObjectName getCustomComponentMBeanNameFilter(String instanceName, String customName, String componentName)
instanceName - - instance namecustomName - - custom control namecomponentName - - component namepublic ObjectName getComponentLoggerMBeanNameFilter(String instanceName, String componentName)
instanceName - - target instance namecomponentName - - target component namepublic ObjectName getComponentExtensionFacadeMBeanName(String componentName, String target)
target - - target namecomponentName - - target component nameCopyright © 2011-2016 OpenESB Community. All Rights Reserved.