| java.lang.Object com.sun.jbi.management.support.MBeanNamesImpl
Method Summary | |
public ObjectName | createCustomComponentMBeanName(String customName) Formulate and return an MBean ObjectName for a custom control of this
name creator's JBI component.
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:
| public ObjectName | getBindingMBeanName(String bindingName, String controlType) Formulate and return the MBean ObjectName of a control MBean for a
Binding Component.
Parameters: bindingName - the name of the Binding Component. Parameters: controlType - the type of control (MBean type). | public ObjectName | getBindingMBeanName(String bindingName, ComponentServiceType serviceType, String target) | public ObjectName | getComponentExtensionFacadeMBeanName(String componentName, String target) Returns the ObjectName of the ComponentExtension facade MBean registered for
the component. | public ObjectName | getComponentLoggerMBeanNameFilter(String instanceName, String componentName) | public ObjectName | getComponentMBeanName(String compName, ComponentType compType, ComponentServiceType serviceType, String target) Utility method to get a component's MBean name based on the component's
type (binding or engine). | public ObjectName | getCustomBindingMBeanName(String customName, String bindingName) Formulate and return the MBean ObjectName of custom control MBean for a
Binding Component.
Parameters: customName - the name of the custom control. Parameters: bindingName - the name of the Binding Component. | public ObjectName | getCustomComponentMBeanNameFilter(String instanceName, String customName, String componentName) | public ObjectName | getCustomEngineMBeanName(String customName, String engineName) Formulate and return the MBean ObjectName of custom control MBean for a
Service Engine.
Parameters: customName - the name of the custom control. Parameters: engineName - the name of the Service Engine. | public ObjectName | getEngineMBeanName(String engineName, String controlType) Formulate and return the MBean ObjectName of a control MBean for a
Service Engine.
Parameters: engineName - the name of the Service Engine. Parameters: controlType - the type of control (MBean type). | public ObjectName | getEngineMBeanName(String engineName, ComponentServiceType serviceType, String target) | public String | getJbiInstanceName() | public String | getJmxDomainName() Retrieve the default JMX Domain Name for MBeans registered in this
instance of the JBI implementation. | public ObjectName | getLocalSystemServiceMBeanName(String name, String type) Formulate and return the MBean ObjectName of a local JBI Framework system
service. | public ObjectName | getSystemServiceLoggerMBeanName(String name, Logger logger) Formulate and return the LoggerMBean ObjectName of a JBI Framework system
service.
Parameters: name - -the name of the system service. Parameters: logger - -the Logger instance. | public ObjectName | getSystemServiceMBeanName(String serviceName, String type) Formulate and return the MBean ObjectName of control MBean for a JBI
system service.
Parameters: serviceName - the name of the system service. Parameters: type - the type of the MBean. | public ObjectName | getSystemServiceMBeanName(String serviceName, String type, String instanceName) Formulate and return the MBean ObjectName of control MBean for a JBI
system service for the specified instance name.
Parameters: serviceName - the name of the system service. Parameters: type - the type of the MBean. Parameters: instanceName - the name of the server instance. | public ObjectName | getSystemServiceMBeanName(ServiceName serviceName, ServiceType serviceType, String target) |
SERVICE_NAME_KEY | final public static String SERVICE_NAME_KEY(Code) | | |
SERVICE_TYPE_KEY | final public static String SERVICE_TYPE_KEY(Code) | | |
MBeanNamesImpl | public MBeanNamesImpl(String jmxDomain, String instanceName)(Code) | | Constructor.
Parameters: jmxDomain - -JMX Domain Name. Parameters: instanceName - -instance name of the runtime. |
createCustomComponentMBeanName | public ObjectName createCustomComponentMBeanName(String customName)(Code) | | Formulate and return an MBean ObjectName for a custom control of this
name creator's JBI component.
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:
All other custom component MBeans must use custom names that do not
collide with the standard extension names.
Parameters: customName - the name of the custom control; must be non-null andnon-empty; must be legal for use in a JMX object name the JMX ObjectName of the MBean, or null if thecustomName is invalid |
getBindingMBeanName | public ObjectName getBindingMBeanName(String bindingName, String controlType)(Code) | | Formulate and return the MBean ObjectName of a control MBean for a
Binding Component.
Parameters: bindingName - the name of the Binding Component. Parameters: controlType - the type of control (MBean type). the JMX ObjectName of the MBean, or null ifcontrolType is invalid. |
getBindingMBeanName | public ObjectName getBindingMBeanName(String bindingName, ComponentServiceType serviceType, String target)(Code) | | Returns object name of type a Binding Object Name:
com.sun.jbi:Target={target}, ServiceType={serviceType},
ComponentName="bindingName"
Parameters: bindingName - -binding component name Parameters: serviceType - Parameters: target - -administration target the Object name of the facade AdminServiceMBean for the desiredtarget. |
getComponentExtensionFacadeMBeanName | public ObjectName getComponentExtensionFacadeMBeanName(String componentName, String target)(Code) | | Returns the ObjectName of the ComponentExtension facade MBean registered for
the component.
Parameters: target - - target name Parameters: componentName - - target component name the ObjectName of the component extension facade MBean. |
getComponentLoggerMBeanNameFilter | public ObjectName getComponentLoggerMBeanNameFilter(String instanceName, String componentName)(Code) | | 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,*
Parameters: instanceName - - target instance name Parameters: componentName - - target component name the ObjectName to be used to filter component registered custom MBeans |
getComponentMBeanName | public ObjectName getComponentMBeanName(String compName, ComponentType compType, ComponentServiceType serviceType, String target)(Code) | | Utility method to get a component's MBean name based on the component's
type (binding or engine). This saves clients from coding the same
conditional (e.g. if type == binding call getBindingMBeanName) over
and over again.
Parameters: componentName - component name Parameters: serviceType - type of MBean Parameters: target - administration target ObjectName in the component's namespace for the given service |
getCustomBindingMBeanName | public ObjectName getCustomBindingMBeanName(String customName, String bindingName)(Code) | | Formulate and return the MBean ObjectName of custom control MBean for a
Binding Component.
Parameters: customName - the name of the custom control. Parameters: bindingName - the name of the Binding Component. the JMX ObjectName or null if illegal name. |
getCustomComponentMBeanNameFilter | public ObjectName getCustomComponentMBeanNameFilter(String instanceName, String customName, String componentName)(Code) | | Returns the ObjectName to be used to filter component registered custom MBeans :
com.sun.jbi:JbiName={instanceName}, ControlType=Custom
Parameters: instanceName - - instance name Parameters: customName - - custom control name Parameters: componentName - - component name the custom component MBean ObjectName |
getCustomEngineMBeanName | public ObjectName getCustomEngineMBeanName(String customName, String engineName)(Code) | | Formulate and return the MBean ObjectName of custom control MBean for a
Service Engine.
Parameters: customName - the name of the custom control. Parameters: engineName - the name of the Service Engine. the JMX ObjectName or null if illegal name. |
getEngineMBeanName | public ObjectName getEngineMBeanName(String engineName, String controlType)(Code) | | Formulate and return the MBean ObjectName of a control MBean for a
Service Engine.
Parameters: engineName - the name of the Service Engine. Parameters: controlType - the type of control (MBean type). the JMX ObjectName of the MBean, or null ifcontrolType is invalid. |
getEngineMBeanName | public ObjectName getEngineMBeanName(String engineName, ComponentServiceType serviceType, String target)(Code) | | Returns object name of type a Engine Object Name:
com.sun.jbi:Target={target}, ServiceType={serviceType},
ComponentName="engineName"
Parameters: engineName - -service engine name Parameters: serviceType - Parameters: target - -administration target the Object name of the facade AdminServiceMBean for the desiredtarget. |
getJbiInstanceName | public String getJbiInstanceName()(Code) | | Return the name of this JBI Framework runtime
the instance name of this runtime. |
getJmxDomainName | public String getJmxDomainName()(Code) | | Retrieve the default JMX Domain Name for MBeans registered in this
instance of the JBI implementation.
the JMX domain name for this instance of the JBI implemention;must be non-null and non-empty |
getLocalSystemServiceMBeanName | public ObjectName getLocalSystemServiceMBeanName(String name, String type)(Code) | | Formulate and return the MBean ObjectName of a local JBI Framework system
service. A local services does not include the jbi runtime instance name.
Parameters: name - -the name of the system service Parameters: type - -the type of the MBean the JMX ObjectName of the service, or null if illegal name |
getSystemServiceLoggerMBeanName | public ObjectName getSystemServiceLoggerMBeanName(String name, Logger logger)(Code) | | Formulate and return the LoggerMBean ObjectName of a JBI Framework system
service.
Parameters: name - -the name of the system service. Parameters: logger - -the Logger instance. the JMX ObjectName of the service, or null if illegal name. |
getSystemServiceMBeanName | public ObjectName getSystemServiceMBeanName(String serviceName, String type)(Code) | | Formulate and return the MBean ObjectName of control MBean for a JBI
system service.
Parameters: serviceName - the name of the system service. Parameters: type - the type of the MBean. the JMX ObjectName of the specified MBean, or null if theserviceName or type is illegal. |
getSystemServiceMBeanName | public ObjectName getSystemServiceMBeanName(String serviceName, String type, String instanceName)(Code) | | Formulate and return the MBean ObjectName of control MBean for a JBI
system service for the specified instance name.
Parameters: serviceName - the name of the system service. Parameters: type - the type of the MBean. Parameters: instanceName - the name of the server instance. the JMX ObjectName of the specified MBean, or null if theserviceName or type is illegal. |
getSystemServiceMBeanName | public ObjectName getSystemServiceMBeanName(ServiceName serviceName, ServiceType serviceType, String target)(Code) | | Returns object name of type a SystemService Object Name:
com.sun.jbi:Target={target},ServiceName={serviceName},ServiceType={serviceType}
Parameters: serviceName - the system service name Parameters: serviceType - the system service type Parameters: target - -administration target the Object name of the facade AdminServiceMBean for the desiredtarget. |
|
|