|
Oracle Communications Service Broker Configuration and Runtime MBean Java API Referencee 6.1 E38079-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomainServiceMBean
MBean to access the features of the Domain Service. Not all features are supported but more will be added as needed.
Method Summary | |
---|---|
void |
addManagedServer(String name, String host, int port, int adminPort, int jmxJrmpPort, int jmxRegistryPort) Adds a managed server to the domain. |
void |
closeDomain() Closes a previously opened domain. |
void |
createDomain() Creates a new domain on the disk, interactively. |
void |
createDomain(String type, String domainPath) Creates a new domain on the disk. |
void |
createDomain(String type, String domainPath, String bundleGroups) Creates a new domain on the disk with the list of bundle groups explicitly specified as an argument. |
void |
createDomain(String domainTypes, String domainPath, String mAddress, int mPort, int mTtl, String properties) Creates a new domain on the disk, silently. |
void |
createHostedDomain(String type, String domainPath, String hostAddress) Creates a new domain on the disk that is going to be hosted. |
void |
createHostedDomain(String type, String domainPath, String hostAddress, String bundleList) Creates a new domain on the disk that is going to be hosted. |
void |
editManagedServer(String name, String host, int port, int adminPort, int jmxJrmpPort, int jmxRegistryPort) Edits an existing managed server. |
String |
getDomainProperty(String name) Returns the value of a property from the domain. |
boolean |
isOffline() Returns true if the domain is in offline mode. |
List<String> |
listDomainTypes() Returns the domain types available. |
List<Map<String,String>> |
listServers() Returns the list of servers available in the domain. |
void |
openDomain(String domainPath) Opens a domain for editing. |
void |
removeManagedServer(String name) Removes a managed server from the domain. |
void |
renameDomainProperty(String oldName, String newName, String value) Renames a domain property. |
void |
setDomainProperty(String name, String value) Sets a domain property. |
void |
setOffline(boolean offline) Sets the domain to offline or online mode. |
Method Detail |
---|
void setOffline(boolean offline)
offline
- true to offline mode or false for online modeboolean isOffline()
List<String> listDomainTypes()
void createDomain() throws IOException
IOException
- Exception if the domain cannot be createdvoid createDomain(String domainTypes, String domainPath, String mAddress, int mPort, int mTtl, String properties) throws IOException
domainTypes
- The domain types to include. See getDomainTypes().domainPath
- The path where the domain will be createdmAddress
- The multicast address for the cluster.mPort
- The multicast port for the cluster.mTtl
- The TTL for the cluster.properties
- Additional domain properties.IOException
- Exception if the domain cannot be createdvoid createDomain(String type, String domainPath) throws IOException
type
- The type of domain. See getDomainTypes().domainPath
- The path where the domain will be createdIOException
- Exception if the domain cannot be createdvoid createDomain(String type, String domainPath, String bundleGroups) throws IOException
type
- The type of domain. See getDomainTypes().domainPath
- The path where the domain will be createdbundleGroups
- List of bundle group to include (comma separated list). For example, to include only SIP bundles, specify: "base,base-sip,app,app-sip". Note that "base" and "app" must generally be included as they contain the base bundles for the serverIOException
- Exception if the domain cannot be createdvoid createHostedDomain(String type, String domainPath, String hostAddress) throws IOException
type
- The type of domain. Can be "all", "app" or "pa".domainPath
- The path where the domain will be createdhostAddress
- The address that will be used to host the domainIOException
- Exception if the domain cannot be createdvoid createHostedDomain(String type, String domainPath, String hostAddress, String bundleList) throws IOException
type
- The type of domain. Can be "all", "app" or "pa".domainPath
- The path where the domain will be createdhostAddress
- The address that will be used to host the domainbundleList
- List of bundles to include (comma separated list).IOException
- Exception if the domain cannot be createdvoid openDomain(String domainPath) throws IOException
domainPath
- The domain pathIOException
- Exception if the domain cannot be open or if the domain is already opened by another processvoid closeDomain() throws IOException
IOException
- Exception if the domain cannot be closedList<Map<String,String>> listServers()
void addManagedServer(String name, String host, int port, int adminPort, int jmxJrmpPort, int jmxRegistryPort) throws IOException
name
- Name of the managed serverhost
- Host of the managed serverport
- Port of the managed server (deprecated/unused)adminPort
- Admin port of the managed serverjmxJrmpPort
- JMX port of the managed serverjmxRegistryPort
- JMX registry port of the managed serverIOException
- Exception if the managed server cannot be added to the domainvoid editManagedServer(String name, String host, int port, int adminPort, int jmxJrmpPort, int jmxRegistryPort) throws IOException
name
- Name of the managed serverhost
- Host of the managed serverport
- Port of the managed server (deprecated/unused)adminPort
- Admin port of the managed serverjmxJrmpPort
- JMX port of the managed serverjmxRegistryPort
- JMX registry port of the managed serverIOException
- Exception if the managed server cannot be editedvoid removeManagedServer(String name) throws IOException
name
- Name of the managed server to removeIOException
- Exception if the managed server cannot be removedvoid setDomainProperty(String name, String value) throws IOException
name
- Name of the propertyvalue
- Value of the property.IOException
- Exception if the property cannot be written to the domainvoid renameDomainProperty(String oldName, String newName, String value) throws IOException
oldName
- Old property namenewName
- New property namevalue
- Property valueIOException
- Exception if the property cannot be written to the domainString getDomainProperty(String name)
name
- Name of the property
|
Oracle Communications Service Broker Configuration and Runtime MBean Java API Referencee 6.1 E38079-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |