FileDocCategorySizeDatePackage
AdminServiceConfig.javaAPI DocGlassfish v2 API4740Fri May 04 22:30:32 BST 2007com.sun.appserv.management.config

AdminServiceConfig

public interface AdminServiceConfig implements com.sun.appserv.management.base.Container, PropertiesAccess, AMXConfig
Configuration for the <admin-service> element.

Fields Summary
public static final String
J2EE_TYPE
The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}.
public static final String
TYPE_DAS
Possible value for Type. See {@link #setType}
public static final String
TYPE_SERVER
Possible value for Type. See {@link #setType}
public static final String
TYPE_DAS_AND_SERVER
Possible value for Type. See {@link #setType}
Constructors Summary
Methods Summary
public JMXConnectorConfigcreateJMXConnectorConfig(java.lang.String name, java.lang.String address, java.lang.String port, java.lang.String authRealmName, java.util.Map optional)
Creates a new jmx-connector element.

param
name The name (id) of the jmx-connector.
param
address The IP address or host-name.
param
port The port of the jmx-connector-server.
param
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.
param
optional Map of optional attributes
return
A proxy to the JMXConnectorConfig MBean.
see
JMXConnectorConfigKeys
since
Appserver 9.0

public JMXConnectorConfigcreateJMXConnectorConfig(java.lang.String name, java.lang.String address, int port, java.lang.String authRealmName, java.util.Map optional)

deprecated

public DASConfiggetDASConfig()
may return null if not present

public java.util.MapgetJMXConnectorConfigMap()
Calls Container.getContaineeMap( XTypes.JMX_CONNECTOR_CONFIG ).

return
Map of JMXConnectorConfig proxies, keyed by name.
see
com.sun.appserv.management.base.Container#getContaineeMap

public java.lang.StringgetSystemJMXConnectorName()

public java.lang.StringgetType()

public voidremoveJMXConnectorConfig(java.lang.String name)
Removes a jmx-connector element.

param
name The name (id) of the jmx-connector.

public voidsetSystemJMXConnectorName(java.lang.String value)

public voidsetType(java.lang.String value)
Valid values are:
  • {@link #TYPE_DAS}
  • {@link #TYPE_SERVER}
  • {@link #TYPE_DAS_AND_SERVER}

param
value