public interface ServiceKeySubscriptionManagementMBean
| Modifier and Type | Field and Description |
|---|---|
static String |
SIS_MANAGEMENT_TYPE
The type of this MBean.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getServiceKeySubscriptionsProfileTableName()
Get the name of the current service key subscriptions profile table in the SIS-IN RA entity.
|
ServiceKeySubscription |
getSubscription(String name)
Retrieves an installed service key subscription from the SIS-IN RA.
|
ServiceKeySubscription |
getSubscriptionByServiceKey(int serviceKey)
Retrieves the subscription for the given service key.
|
ServiceKeySubscription[] |
getSubscriptions()
Get all installed service key subscriptions.
|
void |
installSubscription(ServiceKeySubscription subscription)
Install a new service key subscription in the SIS-IN RA entity.
|
void |
setServiceKeySubscriptionsProfileTableName(String tableName)
Set the name of the service key subscriptions profile table in the SIS-IN RA entity.
|
void |
uninstallSubscription(String name)
Uninstall a service key subscription from the SIS-IN RA entity.
|
void |
updateSubscription(ServiceKeySubscription subscription)
Update an existing service key subscription in the SIS-IN RA entity.
|
static final String SIS_MANAGEMENT_TYPE
String getServiceKeySubscriptionsProfileTableName() throws ManagementException
null
if none has been configured.ManagementException - if an error occurs communicating with the management server.setServiceKeySubscriptionsProfileTableName(java.lang.String)void setServiceKeySubscriptionsProfileTableName(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 service key subscriptions profile table. May be null.ManagementException - if an error occurs communicating with the management server.getServiceKeySubscriptionsProfileTableName()void installSubscription(ServiceKeySubscription subscription) throws NullPointerException, AlreadyDeployedException, DeploymentException, ManagementException
subscription - a ServiceKeySubscription object describing the originating and
terminating services for a service key.NullPointerException - if subscription is null.AlreadyDeployedException - if a service key 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(ServiceKeySubscription subscription) throws NullPointerException, UnrecognizedComponentException, ManagementException
subscription - a ServiceKeySubscription object describing the originating and
terminating services for a service key. 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.ServiceKeySubscription getSubscription(String name) throws NullPointerException, UnrecognizedComponentException, ManagementException
name - the name of the subscription to retrieve.ServiceKeySubscription object.NullPointerException - if name is null.UnrecognizedComponentException - if the named subscription does not exist.ManagementException - if an error occurs communicating with the management server.ServiceKeySubscription getSubscriptionByServiceKey(int serviceKey) throws NullPointerException, ManagementException
serviceKey - the subscribed service key.null if not found.ManagementException - if an error occurs communicating with the management server.NullPointerExceptionServiceKeySubscription[] getSubscriptions() throws ManagementException
ServiceKeySubscription objects, or an empty array if there are no
subscriptions installed.ManagementException - if an error occurs communicating with the management server.