public interface ClientAccess
Modifier and Type | Method and Description |
---|---|
DomainMBean |
getDomain(boolean editable)
Load the DomainMBean from the file config/config.xml relative to the
current working directory.
|
DomainMBean |
getDomain(java.lang.String fileName,
boolean editable)
Load the DomainMBean from the specified file.
|
void |
saveDomain(DomainMBean domain,
java.io.OutputStream output)
Write the specified DomainMBean to a particular OutputStream.
|
void |
saveDomainDirectory(DomainMBean domain,
java.lang.String domainConfigDirectory)
Write the DomainMBean and any configuration extensions that it refers to.
|
DomainMBean getDomain(boolean editable) throws java.io.IOException, javax.xml.stream.XMLStreamException
java.io.IOException
javax.xml.stream.XMLStreamException
DomainMBean getDomain(java.lang.String fileName, boolean editable) throws java.io.IOException, javax.xml.stream.XMLStreamException
java.io.IOException
javax.xml.stream.XMLStreamException
void saveDomain(DomainMBean domain, java.io.OutputStream output) throws java.io.IOException
java.io.IOException
void saveDomainDirectory(DomainMBean domain, java.lang.String domainConfigDirectory) throws java.io.IOException
java.io.IOException