public interface INServiceRefManagementMBean extends ServiceRefManagementMBean
INServiceRefManagementMBean
provides additional IN-specific management
operations for SIS service refs created in a SIS RA entity.SIS_MANAGEMENT_TYPE
Modifier and Type | Method and Description |
---|---|
String |
getApplicationContext(ServiceRefID serviceRefID)
Get the application context that the service will be invoked with.
|
String |
getAssistingDialogApplicationContext(ServiceRefID serviceRefID)
Get the application context that the service will be invoked with for assisting dialogs.
|
CompositeData |
getDescriptor(ServiceRefID serviceRefID)
Get information about a service reference in the SIS.
|
String[] |
getSupportedApplicationContexts()
Get the list of supported application contexts that may be configured for a service reference.
|
void |
setApplicationContext(ServiceRefID serviceRefID,
String appContextName)
Set the application context that the service will be invoked with.
|
void |
setAssistingDialogApplicationContext(ServiceRefID serviceRefID,
String appContextName)
Set the application context that the service will be invoked with for assisting dialogs.
|
createExternalPlatform, createExternalServiceRef, createLocalServiceRef, getDefaultTimeout, getDependencies, getExternalPlatformMBean, getExternalPlatforms, getReferringComponents, getServiceRefs, getStaticChargingPriority, removeExternalPlatform, removeServiceRef, replaceServiceRef, replaceServiceRef, setDefaultTimeout, setStaticChargingPriority
void setApplicationContext(ServiceRefID serviceRefID, String appContextName) throws NullPointerException, UnrecognizedComponentException, InvalidArgumentException, ManagementException
serviceRefID
- the component identifier of the service reference to update.appContextName
- the TCAP application context name. The names of supported application
context can be obtained via getSupportedApplicationContexts()
.NullPointerException
- if serviceRefID
is null
.UnrecognizedComponentException
- if serviceRefID
does not match a current
service reference.IllegalArgumentException
- if appContextName
is non-null and does not match a
known application context.ManagementException
- if the service reference could not be updated due to a
system-level failure.InvalidArgumentException
getApplicationContext(ServiceRefID)
,
getSupportedApplicationContexts()
String getApplicationContext(ServiceRefID serviceRefID) throws NullPointerException, UnrecognizedComponentException, ManagementException
serviceRefID
- the component identifier of the service reference to interrogate.null
if none has been set.NullPointerException
- if serviceRefID
is null
.UnrecognizedComponentException
- if serviceRefID
does not match a current
service reference.ManagementException
- if the service reference could not be interrogated due to
a system-level failuresetApplicationContext(ServiceRefID, String)
void setAssistingDialogApplicationContext(ServiceRefID serviceRefID, String appContextName) throws NullPointerException, UnrecognizedComponentException, InvalidArgumentException, ManagementException
serviceRefID
- the component identifier of the service reference to update.appContextName
- the TCAP application context name. The names of supported application
context can be obtained via getSupportedApplicationContexts()
.NullPointerException
- if serviceRefID
is null
.UnrecognizedComponentException
- if serviceRefID
does not match a current
service reference.IllegalArgumentException
- if appContextName
is non-null and does not match a
known application context.ManagementException
- if the service reference could not be updated due to a
system-level failure.InvalidArgumentException
getApplicationContext(ServiceRefID)
,
getSupportedApplicationContexts()
String getAssistingDialogApplicationContext(ServiceRefID serviceRefID) throws NullPointerException, UnrecognizedComponentException, ManagementException
serviceRefID
- the component identifier of the service reference to interrogate.null
if none has been set.NullPointerException
- if serviceRefID
is null
.UnrecognizedComponentException
- if serviceRefID
does not match a current
service reference.ManagementException
- if the service reference could not be interrogated due to
a system-level failuresetApplicationContext(ServiceRefID, String)
String[] getSupportedApplicationContexts() throws ManagementException
ManagementException
CompositeData getDescriptor(ServiceRefID serviceRefID) throws NullPointerException, UnrecognizedComponentException, ManagementException
This method returns a CompositeData type with the following fields:
Field | Open Type | Description |
---|---|---|
name | String | The name of the service reference. |
type | String | The type of the service reference, either "local" or "external". |
serviceName | String | The name component of the referenced service component identifier. This field is only present if this is a local service reference. |
serviceVendor | String | The vendor component of the referenced service component identifier. This field is only present if this is a local service reference. |
serviceVersion | String | The version component of the referenced service component identifier. This field is only present if this is a local service reference. |
extPlatformName | String | The name component of the referenced external platform identifier. This field is only present if this is an external service referenced. |
defaultTimeout | Long | The default timeout configured for the service. |
chargingPriority | Integer | The static charging priority configured for the service. |
inApplicationContext | String | The IN application context that the service will be invoked with. If empty then the triggering application context will be used. |
inAssistingDialogApplicationContext | String | The IN application context that the service will be invoked with for assisting dialogs. If empty then the triggering application context will be used. |
getDescriptor
in interface ServiceRefManagementMBean
serviceRefID
- the component identifier of the service reference.CompositeData
object as described above.NullPointerException
- if serviceRefID
is null
.UnrecognizedComponentException
- if serviceRefID
does not match a current
service reference.ManagementException
- if the service reference descriptor could not be obtained due to
a system-level failure.