javax.jbi.management
インタフェース MBeanNames


public interface MBeanNames

This interface provides methods to create JMX object names for component- supplied MBeans. This ensures that component-supplied MBeans follow the JBI implementation-determined naming convention.

Components obtain instances of this name creator using ComponentContext.getMBeanNames().

作成者:
JSR 208 Expert Group

フィールドの概要
static java.lang.String BOOTSTRAP_EXTENSION
          The custom name that must be used for bootstrap extensions
static java.lang.String COMPONENT_LIFE_CYCLE_EXTENSION
          The custom name that must be used for component life cycle extensions
 
メソッドの概要
 javax.management.ObjectName createCustomComponentMBeanName(java.lang.String customName)
          Formulate and return an MBean ObjectName for a custom control of this name creator's JBI component.
 java.lang.String getJmxDomainName()
          Retrieve the default JMX Domain Name for MBeans registered in this instance of the JBI implementation.
 

フィールドの詳細

BOOTSTRAP_EXTENSION

static final java.lang.String BOOTSTRAP_EXTENSION
The custom name that must be used for bootstrap extensions

関連項目:
定数フィールド値

COMPONENT_LIFE_CYCLE_EXTENSION

static final java.lang.String COMPONENT_LIFE_CYCLE_EXTENSION
The custom name that must be used for component life cycle extensions

関連項目:
定数フィールド値
メソッドの詳細

getJmxDomainName

java.lang.String getJmxDomainName()
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

createCustomComponentMBeanName

javax.management.ObjectName createCustomComponentMBeanName(java.lang.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:

All other custom component MBeans must use custom names that do not collide with the standard extension names.

パラメータ:
customName - the name of the custom control; must be non-null and non-empty; must be legal for use in a JMX object name
戻り値:
the JMX ObjectName of the MBean, or null if the customName is invalid


Copyright (C) 1998 - 2012 NEC Corporation. All rights reserved.