public interface DomainsManager
| Modifier and Type | Method and Description |
|---|---|
void |
createDomain(DomainConfig domainConfig)
Creates a domain
|
void |
deleteDomain(DomainConfig domainConfig)
Deletes a domain identified by the given name.
|
BitSet |
getDomainFlags()
In SE/EE we need an admin user/password that the DAS can use to authenticate to
Node Agents and servers in the domain.
|
String[] |
getExtraPasswordOptions(DomainConfig config)
SE/EE supports NSS as its native SSL database.
|
String[] |
listDomains(DomainConfig domainConfig)
Lists all the domains.
|
void |
validateDomain(DomainConfig domainConfig,
boolean domainExists)
Changes the master password for the domain
|
void |
validateMasterPassword(DomainConfig config) |
BitSet getDomainFlags()
String[] getExtraPasswordOptions(DomainConfig config) throws DomainException
DomainExceptionvoid createDomain(DomainConfig domainConfig) throws DomainException
domainConfig - The configuration params that are required to create
the domain. (eg :- domain admin port, http port, default locale,
domain root, install root etc.) The relevant keys are defined in
DomainConfig. The implementors of this class should validate the values
that are supplied.DomainException - This exception is thrown if
- the domain already exists.
- an invalid or insufficient config. is supplied.
- an exception occurred during domain creation.void deleteDomain(DomainConfig domainConfig) throws DomainException
domainConfig - DomainException - This exception is thrown if
String[] listDomains(DomainConfig domainConfig) throws DomainException
DomainExceptionvoid validateDomain(DomainConfig domainConfig, boolean domainExists) throws DomainException
DomainExceptionvoid validateMasterPassword(DomainConfig config) throws DomainException
DomainExceptionCopyright © 2013. All Rights Reserved.