public interface AddressSubscriptionManagementMBean
Modifier and Type | Field and Description |
---|---|
static String |
SIS_MANAGEMENT_TYPE
The type of this MBean.
|
Modifier and Type | Method and Description |
---|---|
String |
getAddressSubscriptionsProfileTableName()
Get the name of the current address subscriptions profile table in the SIS-IN RA entity.
|
AddressSubscription |
getSubscription(String name)
Retrieves an installed address subscription from the SIS-IN RA entity.
|
AddressSubscription |
getSubscriptionByAddress(String address)
Retrieves the subscription for the given address.
|
AddressSubscription[] |
getSubscriptions()
Get all installed address subscriptions.
|
void |
installSubscription(AddressSubscription subscription)
Install a new address subscription in the SIS-IN RA entity.
|
void |
setAddressSubscriptionsProfileTableName(String tableName)
Set the name of the address subscriptions profile table in the SIS-IN RA entity.
|
void |
uninstallSubscription(String name)
Uninstall an address subscription from the SIS-IN RA entity.
|
void |
updateSubscription(AddressSubscription subscription)
Update an existing address subscription in the SIS-IN RA entity.
|
static final String SIS_MANAGEMENT_TYPE
String getAddressSubscriptionsProfileTableName() throws ManagementException
null
if none has been configured.ManagementException
- if an error occurs communicating with the management server.setAddressSubscriptionsProfileTableName(java.lang.String)
void setAddressSubscriptionsProfileTableName(String tableName) throws ManagementException
The SIS-IN RA's configuration must be reloaded before the configuration changes caused by this method take effect. Refer to the package summary for further details.
tableName
- the new name of the address subscriptions profile table. May be null
.ManagementException
- if an error occurs communicating with the management server.getAddressSubscriptionsProfileTableName()
void installSubscription(AddressSubscription subscription) throws NullPointerException, AlreadyDeployedException, DeploymentException, ManagementException
subscription
- an AddressSubscription
object describing the originating and terminating
services for an address.NullPointerException
- if subscription
is null
.AlreadyDeployedException
- if an address subscription of the same name already exists.DeploymentException
- if a deployment error occurs.ManagementException
- if an error occurs communicating with the management server.void uninstallSubscription(String name) throws NullPointerException, UnrecognizedComponentException, ManagementException
name
- the name of the subscription to remove.NullPointerException
- if name
is null
.UnrecognizedComponentException
- if the named subscription does not exist.ManagementException
- if an error occurs communicating with the management server.void updateSubscription(AddressSubscription subscription) throws NullPointerException, UnrecognizedComponentException, ManagementException
subscription
- an AddressSubscription
object describing the originating and terminating
services for an address. This subscription data will replace the existing data for
the subscription with the name subscription.getName()
.NullPointerException
- if subscription
is null
.UnrecognizedComponentException
- if a subscription with the name specified by
subscription.getName()
does not exist.ManagementException
- if an error occurs communicating with the management server.AddressSubscription getSubscription(String name) throws NullPointerException, UnrecognizedComponentException, ManagementException
name
- the name of the subscription to retrieve.NullPointerException
- if name
is null
.UnrecognizedComponentException
- if the named subscription does not exist.ManagementException
- if an error occurs communicating with the management server.AddressSubscription getSubscriptionByAddress(String address) throws NullPointerException, ManagementException
address
- the subscribed address.null
if not found.NullPointerException
- if address
is null
.ManagementException
- if an error occurs communicating with the management server.AddressSubscription[] getSubscriptions() throws ManagementException
AddressSubscription
objects, or an empty array if there are no
subscriptions installed.ManagementException
- if an error occurs communicating with the management server.