public interface DARConfigurationManagementMXBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConfiguration()
Get the current default application router configuration.
|
void |
installConfiguration(byte[] content)
Installs a new default application router configuration.
|
void |
installConfiguration(java.lang.String url)
Installs a new default application router configuration.
|
void |
uninstallConfiguration()
Removes the current default application router configuration.
|
static final java.lang.String TYPE
void installConfiguration(java.lang.String url) throws java.lang.NullPointerException, java.net.MalformedURLException, javax.slee.management.DeploymentException, javax.slee.management.ManagementException
The configuration file must be formatted as per Appendix C in the SIP Servlet 1.1 specification.
url
- the URL of the configuration file to install.java.lang.NullPointerException
- if url
is null
.java.net.MalformedURLException
- if url
is not a properly formatted URL.javax.slee.management.DeploymentException
- if the configuration file's contents are not valid.javax.slee.management.ManagementException
- if the configuration file could not be installed due to
a system-level failure.void installConfiguration(byte[] content) throws java.lang.NullPointerException, javax.slee.management.DeploymentException, javax.slee.management.ManagementException
The configuration file must be formatted as per Appendix C in the SIP Servlet 1.1 specification.
content
- the configuration file content to install.java.lang.NullPointerException
- if content
is null
.javax.slee.management.DeploymentException
- if the configuration file's contents are not valid.javax.slee.management.ManagementException
- if the configuration file could not be installed due to
a system-level failure.void uninstallConfiguration() throws javax.slee.management.ManagementException
javax.slee.management.ManagementException
- if the configuration could not be removed due to a
system-level failure.java.lang.String getConfiguration() throws javax.slee.management.ManagementException
null
if no configuration is
currently installed.javax.slee.management.ManagementException
- if the configuration could not be obtained due to a
system-level failure.