Java EE 5 SDK

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

See Also:
DomainConfig.getCustomMBeanConfigMap()

Field Summary
static String J2EE_TYPE
          The j2eeType as returned by AMX.getJ2EEType().
static String JMX_DOMAIN
          The JMX domain in which all custom MBeans are registered by default.
 
Fields inherited from interface com.sun.appserv.management.config.AMXConfig
CONFIG_CREATED_NOTIFICATION_TYPE, CONFIG_OBJECT_NAME_KEY, CONFIG_REMOVED_NOTIFICATION_TYPE
 
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
 
Fields inherited from interface com.sun.appserv.management.config.PropertiesAccess
PROPERTY_PREFIX
 
Fields inherited from interface com.sun.appserv.management.config.Description
DESCRIPTION_KEY
 
Method Summary
 String getImplClassname()
          Get the implementation class.
 String getObjectNameInConfig()
          Get the ObjectName as configured (which could differ from the ObjectName with which the MBean is registered--TBD).
 
Methods inherited from interface com.sun.appserv.management.base.AMX
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel
 
Methods inherited from interface com.sun.appserv.management.config.Enabled
getEnabled, setEnabled
 
Methods inherited from interface com.sun.appserv.management.config.PropertiesAccess
createProperty, existsProperty, getProperties, getPropertyNames, getPropertyValue, removeProperty, setPropertyValue
 
Methods inherited from interface com.sun.appserv.management.config.ObjectType
getObjectType, setObjectType
 
Methods inherited from interface com.sun.appserv.management.config.Description
getDescription, setDescription
 

Field Detail

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
Method Detail

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.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.