com.sun.appserv.management.config
Interface AMXConfig

All Superinterfaces:
AMX, AMXMBeanLogging, NotificationBroadcaster, NotificationEmitter
All Known Subinterfaces:
AccessLogConfig, ActionConfig, AdminObjectResourceConfig, AdminServiceConfig, AppClientModuleConfig, AuditModuleConfig, AuthRealmConfig, AvailabilityServiceConfig, BackendPrincipalConfig, ClusterConfig, ClusteredServerConfig, ClusterRefConfig, ConfigConfig, ConfigElement, ConnectionPoolConfig, ConnectorConnectionPoolConfig, ConnectorModuleConfig, ConnectorResourceConfig, ConnectorServiceConfig, CustomMBeanConfig, CustomResourceConfig, DASConfig, DeployedItemRefConfig, DiagnosticServiceConfig, DomainConfig, EJBContainerAvailabilityConfig, EJBContainerConfig, EJBModuleConfig, EJBTimerServiceConfig, EventConfig, GroupManagementServiceConfig, HealthCheckerConfig, HTTPAccessLogConfig, HTTPFileCacheConfig, HTTPListenerConfig, HTTPProtocolConfig, HTTPServiceConfig, IIOPListenerConfig, IIOPServiceConfig, J2EEApplicationConfig, JACCProviderConfig, JavaConfig, JDBCConnectionPoolConfig, JDBCResourceConfig, JMSAvailabilityConfig, JMSHostConfig, JMSServiceConfig, JMXConnectorConfig, JNDIResourceConfig, KeepAliveConfig, LBConfig, LifecycleModuleConfig, LoadBalancerConfig, LogServiceConfig, MailResourceConfig, ManagementRuleConfig, ManagementRulesConfig, ManagerPropertiesConfig, MDBContainerConfig, MessageSecurityConfig, ModuleConfig, ModuleLogLevelsConfig, ModuleMonitoringLevelsConfig, MonitoringServiceConfig, NamedConfigElement, NodeAgentConfig, ORBConfig, PersistenceManagerFactoryResourceConfig, ProfilerConfig, ProviderConfig, RARModuleConfig, RefConfig, RegistryLocationConfig, RequestPolicyConfig, RequestProcessingConfig, ResourceAdapterConfig, ResourceConfig, ResourceRefConfig, ResponsePolicyConfig, SecurityMapConfig, SecurityServiceConfig, ServerConfig, ServerRefConfig, SessionConfig, SessionManagerConfig, SessionPropertiesConfig, SSLConfig, StandaloneServerConfig, StorePropertiesConfig, ThreadPoolConfig, TransactionServiceConfig, TransformationRuleConfig, VirtualServerConfig, WebContainerAvailabilityConfig, WebContainerConfig, WebModuleConfig, WebServiceEndpointConfig

public interface AMXConfig
extends AMX

All Config MBeans must extend this interface, whether they represent elements or whether they are managers. Extending this interface implies that the class is part of the API for configuration.

All AMXConfig s are required to implement NotificationEmitter. A Config must issue AttributeChangeNotification when changes are made to the configuration.


Field Summary
static String CONFIG_CREATED_NOTIFICATION_TYPE
          The type of the Notification emitted when a config element is created.
static String CONFIG_OBJECT_NAME_KEY
          The key within the Notification's Map of type CONFIG_REMOVED_NOTIFICATION_TYPE which yields the ObjectName of the created or removed config.
static String CONFIG_REMOVED_NOTIFICATION_TYPE
          The type of the Notification emitted when a config element is removed.
 
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, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME
 
Method Summary
 String getDefaultValue(String name)
          Get the default value of an Attribute.
 
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
 

Field Detail

CONFIG_CREATED_NOTIFICATION_TYPE

static final String CONFIG_CREATED_NOTIFICATION_TYPE
The type of the Notification emitted when a config element is created.

See Also:
Constant Field Values

CONFIG_REMOVED_NOTIFICATION_TYPE

static final String CONFIG_REMOVED_NOTIFICATION_TYPE
The type of the Notification emitted when a config element is removed.

See Also:
Constant Field Values

CONFIG_OBJECT_NAME_KEY

static final String CONFIG_OBJECT_NAME_KEY
The key within the Notification's Map of type CONFIG_REMOVED_NOTIFICATION_TYPE which yields the ObjectName of the created or removed config.

See Also:
Constant Field Values
Method Detail

getDefaultValue

String getDefaultValue(String name)
Get the default value of an Attribute. Works only for Attributes which have default values, and which are part of the configuration.

Parameters:
name - the name of the configuration Attribute