com.sun.appserv.management.config
Interface CustomMBeanConfig
- All Superinterfaces:
- AMX, AMXConfig, AMXMBeanLogging, ConfigElement, DeployedItemRefConfigReferent, Description, Enabled, NamedConfigElement, NotificationBroadcaster, NotificationEmitter, ObjectType, PropertiesAccess, RefConfigReferent
public interface CustomMBeanConfig
- extends NamedConfigElement, Enabled, PropertiesAccess, ObjectType, DeployedItemRefConfigReferent, Description
Configuration for custom MBean.
When a Custom MBean is loaded, the object name specified via
the 'ObjectNameInConfig' Attribute is used. The JMX Domain
will always be JMX_DOMAIN
.
If there is a name specified in 'ObjectNameInConfig' eg
"name=name1", that name is used and the name as returned
by AMX.getName()
is not used within the ObjectName.
Questions
-
When setEnabled( true/false ) is called, are custom MBeans dynamically
loaded and unloaded? Document this here.
-
How to obtain the ObjectName for the runtime MBean that
this config specifies?
-
Are runtime MBeans loaded only in the DAS, or in each server?
What about the Node Agent? If they are loaded per server,
what is put into the ObjectName to distinguish them?
-
All these either/or cases are confusing. We should restrict
the object-name Attribute to properties, prohibit a 'name'
property, and require a 'type' property--my opinion--Lloyd
- See Also:
DomainConfig.getCustomMBeanConfigMap()
Fields inherited from interface com.sun.appserv.management.base.AMX |
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME |
J2EE_TYPE
static final String J2EE_TYPE
- The j2eeType as returned by
AMX.getJ2EEType()
.
- See Also:
- Constant Field Values
JMX_DOMAIN
static final String JMX_DOMAIN
- The JMX domain in which all custom MBeans are registered by default.
- See Also:
- Constant Field Values
getObjectNameInConfig
String getObjectNameInConfig()
- Get the ObjectName as configured (which could differ from the ObjectName
with which the MBean is registered--TBD).
This Attribute may not be changed; it is read-only.
getImplClassname
String getImplClassname()
- Get the implementation class.
This Attribute is read-only.
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.