com.sun.enterprise.admin.servermgmt
Class DomainConfig
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
com.sun.enterprise.admin.servermgmt.RepositoryConfig
com.sun.enterprise.admin.servermgmt.DomainConfig
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,Object>
public class DomainConfig
- extends RepositoryConfig
This class defines the keys that are used to create the domain config object.
Almost all the methods of DomainsManager require the domain config to be
passed as java.util.Map, the key set of which is defined here.
- See Also:
- Serialized Form
|
Constructor Summary |
DomainConfig(String domainName,
Integer adminPort,
String domainRoot,
String adminUser,
String adminPassword,
String masterPassword,
Boolean saveMasterPassword,
Integer instancePort,
Integer jmsPort,
Integer orbPort,
Integer httpSSLPort,
Integer iiopSSLPort,
Integer iiopMutualAuthPort,
Integer jmxAdminPort,
Integer osgiShellTelnetPort,
Integer javaDebuggerPort,
Properties domainProperties)
This constructor is used at domain creation time only. |
DomainConfig(String domainName,
String domainRoot)
The DomainConfig always contains the K_DOMAINS_ROOT and K_HOST_NAME
attributes. |
| Methods inherited from class com.sun.enterprise.admin.servermgmt.RepositoryConfig |
getConfigRoot, getConfigurationName, getDisplayName, getFilePath, getInstallRoot, getInstanceName, getRefreshConfigContext, getRepositoryName, getRepositoryRoot, setConfigurationName, setInstanceName, setRefreshConfingContext, setRepositoryRoot, toString |
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
K_USER
public static final String K_USER
- These constants define the possbile Hash Map keys that can reside
in DomainConfig
MAKE SURE THAT KEYS FOR PORTS END IN THE STRING "PORT" (case ignored) - this
is used in PEDomainConfigValidator to ensure that the ports are unique!
- See Also:
- Constant Field Values
K_PASSWORD
public static final String K_PASSWORD
- See Also:
- Constant Field Values
K_NEW_MASTER_PASSWORD
public static final String K_NEW_MASTER_PASSWORD
- See Also:
- Constant Field Values
K_MASTER_PASSWORD
public static final String K_MASTER_PASSWORD
- See Also:
- Constant Field Values
K_SAVE_MASTER_PASSWORD
public static final String K_SAVE_MASTER_PASSWORD
- See Also:
- Constant Field Values
K_ADMIN_PORT
public static final String K_ADMIN_PORT
- See Also:
- Constant Field Values
K_INSTANCE_PORT
public static final String K_INSTANCE_PORT
- See Also:
- Constant Field Values
K_PROFILE
public static final String K_PROFILE
- See Also:
- Constant Field Values
K_DOMAINS_ROOT
public static final String K_DOMAINS_ROOT
- See Also:
- Constant Field Values
K_HOST_NAME
public static final String K_HOST_NAME
- See Also:
- Constant Field Values
K_JMS_PORT
public static final String K_JMS_PORT
- See Also:
- Constant Field Values
K_ORB_LISTENER_PORT
public static final String K_ORB_LISTENER_PORT
- See Also:
- Constant Field Values
K_SERVERID
public static final String K_SERVERID
- See Also:
- Constant Field Values
K_TEMPLATE_NAME
public static final String K_TEMPLATE_NAME
- See Also:
- Constant Field Values
K_HTTP_SSL_PORT
public static final String K_HTTP_SSL_PORT
- See Also:
- Constant Field Values
K_IIOP_SSL_PORT
public static final String K_IIOP_SSL_PORT
- See Also:
- Constant Field Values
K_IIOP_MUTUALAUTH_PORT
public static final String K_IIOP_MUTUALAUTH_PORT
- See Also:
- Constant Field Values
K_OSGI_SHELL_TELNET_PORT
public static final String K_OSGI_SHELL_TELNET_PORT
- See Also:
- Constant Field Values
K_JAVA_DEBUGGER_PORT
public static final String K_JAVA_DEBUGGER_PORT
- See Also:
- Constant Field Values
K_DEBUG
public static final String K_DEBUG
- See Also:
- Constant Field Values
K_VERBOSE
public static final String K_VERBOSE
- See Also:
- Constant Field Values
K_VALIDATE_PORTS
public static final String K_VALIDATE_PORTS
- See Also:
- Constant Field Values
K_JMX_PORT
public static final String K_JMX_PORT
- See Also:
- Constant Field Values
K_EXTRA_PASSWORDS
public static final String K_EXTRA_PASSWORDS
- See Also:
- Constant Field Values
K_FLAG_START_DOMAIN_NEEDS_ADMIN_USER
public static final int K_FLAG_START_DOMAIN_NEEDS_ADMIN_USER
- See Also:
- Constant Field Values
KEYTOOLOPTIONS
public static final String KEYTOOLOPTIONS
- See Also:
- Constant Field Values
K_ADMIN_CERT_DN
public static final String K_ADMIN_CERT_DN
- See Also:
- Constant Field Values
K_INSTANCE_CERT_DN
public static final String K_INSTANCE_CERT_DN
- See Also:
- Constant Field Values
K_SECURE_ADMIN_IDENTIFIER
public static final String K_SECURE_ADMIN_IDENTIFIER
- See Also:
- Constant Field Values
DomainConfig
public DomainConfig(String domainName,
String domainRoot)
throws DomainException
- The DomainConfig always contains the K_DOMAINS_ROOT and K_HOST_NAME
attributes.
- Throws:
DomainException
DomainConfig
public DomainConfig(String domainName,
Integer adminPort,
String domainRoot,
String adminUser,
String adminPassword,
String masterPassword,
Boolean saveMasterPassword,
Integer instancePort,
Integer jmsPort,
Integer orbPort,
Integer httpSSLPort,
Integer iiopSSLPort,
Integer iiopMutualAuthPort,
Integer jmxAdminPort,
Integer osgiShellTelnetPort,
Integer javaDebuggerPort,
Properties domainProperties)
throws DomainException
- This constructor is used at domain creation time only.
- Throws:
DomainException
getDomainName
public String getDomainName()
getDomainRoot
public String getDomainRoot()
getPorts
public Map getPorts()
getProfile
public String getProfile()
Copyright © 2012 GlassFish Community. All Rights Reserved.