com.sun.enterprise.admin.servermgmt.RepositoryConfig
This class represents a repository configuration. A repository can be either a domain, a node agent, or a server instance. Configuration specific to each (DomainConfig, AgentConfig, InstanceConfig) is derived from this class. A repository config consists of the following attributes: 1)repositoryName -- domain or node agent name (e.g. domain1 or agent1) 2)repositoryRoot -- the parent directory of the repository (e.g. $installDir/domains or $installDir/agents) 3)instanceName -- the optional server instance name (e.g. server1) 4)configurationName -- the optional configuration name of the server instance (e.g. default-config). Using (repositoryName, repositoryRoot, instanceName, configurationName) syntax. Here are the following permutations: 1)For a domain: (domainRootDirectory, domainName, null, null) e.g. ("/sun/appserver/domains", "domain1", null, null) 2)For a node agent: (agentRootDirectory, agentName, "agent", null) e.g ("/sun/appserver/agents", "agent1", "agent", null). Note that the instance name of a node agent is always the literal string "agent". 3)For a server instance (agentRootDirectory, agentName, instanceName, configName) e.g. ("/sun/appserver/agents", "agent1", "server1", "default-config") The RepositoryConfig class is an extensible HashMap that can contain any attributes, but also relies on two system properties being set: 1)com.sun.aas.installRoot -- installation root directory stored under the K_INSTALL_ROOT key. 2)com.sun.aas.configRoot -- configuration root (for locating asenv.conf) stored under the K_CONFIG_ROOT key.
@author kebbs