Java EE 5 SDK

com.sun.appserv.management.config
Interface AdminServiceConfig

All Superinterfaces:
AMX, AMXConfig, AMXMBeanLogging, Container, NotificationBroadcaster, NotificationEmitter, PropertiesAccess

public interface AdminServiceConfig
extends AMXConfig, PropertiesAccess, Container

Configuration for the <admin-service> element.


Field Summary
static String J2EE_TYPE
          The j2eeType as returned by AMX.getJ2EEType().
static String TYPE_DAS
          Possible value for Type.
static String TYPE_DAS_AND_SERVER
          Possible value for Type.
static String TYPE_SERVER
          Possible value for Type.
 
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, JMX_DOMAIN, 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.base.Container
ATTR_CONTAINEE_J2EE_TYPES
 
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
 JMXConnectorConfig createJMXConnectorConfig(String name, String address, int port, String authRealmName, Map<String,String> optional)
          Deprecated.  
 JMXConnectorConfig createJMXConnectorConfig(String name, String address, String port, String authRealmName, Map<String,String> optional)
          Creates a new jmx-connector element.
 DASConfig getDASConfig()
          may return null if not present
 Map<String,JMXConnectorConfig> getJMXConnectorConfigMap()
          Calls Container.getContaineeMap( XTypes.JMX_CONNECTOR_CONFIG ).
 String getSystemJMXConnectorName()
           
 String getType()
           
 void removeJMXConnectorConfig(String name)
          Removes a jmx-connector element.
 void setSystemJMXConnectorName(String value)
           
 void setType(String value)
          Valid values are: TYPE_DAS TYPE_SERVER TYPE_DAS_AND_SERVER
 
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.PropertiesAccess
createProperty, existsProperty, getProperties, getPropertyNames, getPropertyValue, removeProperty, setPropertyValue
 
Methods inherited from interface com.sun.appserv.management.base.Container
getByNameContaineeSet, getContainee, getContainee, getContaineeJ2EETypes, getContaineeMap, getContaineeSet, getContaineeSet, getContaineeSet, getMultiContaineeMap
 
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

J2EE_TYPE

static final String J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType().

See Also:
Constant Field Values

TYPE_DAS

static final String TYPE_DAS
Possible value for Type. See setType(java.lang.String)

See Also:
Constant Field Values

TYPE_SERVER

static final String TYPE_SERVER
Possible value for Type. See setType(java.lang.String)

See Also:
Constant Field Values

TYPE_DAS_AND_SERVER

static final String TYPE_DAS_AND_SERVER
Possible value for Type. See setType(java.lang.String)

See Also:
Constant Field Values
Method Detail

getJMXConnectorConfigMap

Map<String,JMXConnectorConfig> getJMXConnectorConfigMap()
Calls Container.getContaineeMap( XTypes.JMX_CONNECTOR_CONFIG ).

Returns:
Map of JMXConnectorConfig proxies, keyed by name.
See Also:
Container.getContaineeMap(java.lang.String)

getSystemJMXConnectorName

String getSystemJMXConnectorName()

setSystemJMXConnectorName

void setSystemJMXConnectorName(String value)

getType

String getType()

setType

void setType(String value)
Valid values are:

Parameters:
value -

getDASConfig

DASConfig getDASConfig()
may return null if not present


createJMXConnectorConfig

JMXConnectorConfig createJMXConnectorConfig(String name,
                                            String address,
                                            String port,
                                            String authRealmName,
                                            Map<String,String> optional)
Creates a new jmx-connector element.

Parameters:
name - The name (id) of the jmx-connector.
address - The IP address or host-name.
port - The port of the jmx-connector-server.
authRealmName - The name of the auth-realm that represents the special administrative realm. All authentication (from administraive GUI and CLI) will be handled by this realm.
optional - Map of optional attributes
Returns:
A proxy to the JMXConnectorConfig MBean.
Since:
Appserver 9.0
See Also:
JMXConnectorConfigKeys

createJMXConnectorConfig

JMXConnectorConfig createJMXConnectorConfig(String name,
                                            String address,
                                            int port,
                                            String authRealmName,
                                            Map<String,String> optional)
Deprecated. 


removeJMXConnectorConfig

void removeJMXConnectorConfig(String name)
Removes a jmx-connector element.

Parameters:
name - The name (id) of the jmx-connector.

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.