public interface ExternalPlatformManagementMBean
Modifier and Type | Field and Description |
---|---|
static String |
SIS_MANAGEMENT_TYPE |
Modifier and Type | Method and Description |
---|---|
void |
activateINAddress(int position)
Activate an IN address in the external platform definition managed by this MBean.
|
void |
activateSIPAddress(int position)
Activate a SIP address in the external platform definition managed by this MBean.
|
void |
addINAddress(String address)
Add an IN address to the external platform definition managed by this MBean.
|
void |
addINAddress(String address,
int position)
Add an IN address to the external platform definition managed by this MBean.
|
void |
addSIPAddress(String address)
Add a SIP address to the external platform definition managed by this MBean.
|
void |
addSIPAddress(String address,
int position)
Add a SIP address to the external platform definition managed by this MBean.
|
void |
deactivateINAddress(int position)
Deactivate an IN address in the external platform definition managed by this MBean.
|
void |
deactivateSIPAddress(int position)
Deactivate a SIP address in the external platform definition managed by this MBean.
|
CompositeData |
getDescriptor()
Get information about the external platform definition managed by this MBean.
|
ExternalAddressState |
getINAddressState(int position)
Get the current state of an IN address in the external platform definition managed by this MBean.
|
ExternalPlatformConfig |
getPlatformConfig()
Get the
ExternalPlatformConfig object describing the configuration of the
external platform definition |
SISComponent[] |
getReferringComponents()
Get the set of components that depend on the external platform definition managed by this MBean.
|
ExternalAddressState |
getSIPAddressState(int position)
Get the current state of a SIP address in the external platform definition managed by this MBean.
|
void |
remove()
Remove the external platform definition managed by this MBean.
|
void |
removeINAddress(int position)
Remove an IN address from the external platform definition managed by this MBean.
|
void |
removeSIPAddress(int position)
Remove a SIP address from the external platform definition managed by this MBean.
|
void |
repairINAddress(int position)
Reactivate a failed IN address in the external platform definition managed by this MBean.
|
void |
repairSIPAddress(int position)
Reactivate a failed SIP address in the external platform definition managed by this MBean.
|
void |
setPlatformConfig(ExternalPlatformConfig config)
Update the configuration of this external platform definition.
|
static final String SIS_MANAGEMENT_TYPE
CompositeData getDescriptor() throws ManagementException
This method returns a CompositeData type with the following fields:
Field | Open Type | Description |
---|---|---|
name | String | The name given to the external platform. |
selectionMode | String | The assigned external address selection mode. |
detectInterval | Long | The interval (ms) between checking the proportion of failed calls for each of this platform's active addresses. |
detectThreshold | Float | If the proportion of failed calls seen during a detect interval is greater than or equal to this value, the SIS marks the address as failed. |
retryInterval | Long | The interval (ms) between attempts to retry a failed address, to see if it has recovered. |
retryAttempts | Integer | The number of consecutive retry attempts that must succeed before the SIS will begin using a failed address again. |
sipAddresses | TabularData | The set of SIP addresses for the external platform. The format of this tabular data is described below. |
inAddresses | TabularData | The set of IN SCCP addresses for the external platform. The format of this tabular data is described below. |
The TabularData
used to describe addresses contains the following fields:
Field | Open Type | Description |
---|---|---|
position | Integer | The relative position of the address in the address list. |
address | String | The address. |
state | String | The current state of the address, one of "active", "inactive", or "failed". |
CompositeData
object as described above.ManagementException
- if the service reference could not be obtained due to a
system-level failure.SISComponent[] getReferringComponents() throws ManagementException
ManagementException
- if the referring components could not be retrieved due to a system-level failure.void addSIPAddress(String address) throws NullPointerException, InvalidArgumentException, DuplicateAddressException, ManagementException
Any new address added to an external platform definition is assigned the ExternalAddressState.INACTIVE
state.
address
- the SIP address.NullPointerException
- if address
is null
.InvalidArgumentException
- if the address is not a valid address.DuplicateAddressException
- if the address has already been added to this external
platform definition.ManagementException
- if the address cannot be added due to a system-level failure.void addSIPAddress(String address, int position) throws NullPointerException, InvalidArgumentException, DuplicateAddressException, ManagementException
Any new address added to an external platform definition is assigned the ExternalAddressState.INACTIVE
state.
address
- the SIP address.position
- the list position to insert the address. A value less than or equal to zero
inserts the new address at the beginning of the list. A value greater than or equal to
the current number of addresses adds the new address to the end of the list.NullPointerException
- if address
is null
.InvalidArgumentException
- if the address is not a valid address.DuplicateAddressException
- if the address has already been added to this external
platform definition.ManagementException
- if the address cannot be added due to a system-level failure.void removeSIPAddress(int position) throws InvalidArgumentException, ManagementException
position
- the list position of the address to remove.. This must be a value between 0
and one less than the number of SIP addresses currently present.InvalidArgumentException
- if an invalid position is specified.ManagementException
- if the address cannot be removed due to a system-level failure.void activateSIPAddress(int position) throws InvalidArgumentException, InvalidStateException, ManagementException
position
- the list position of the address to activate. This must be a value between 0
and one less than the number of SIP addresses currently present.InvalidArgumentException
- if an invalid position is specified.InvalidStateException
- if the address is already in the ACTIVE state.ManagementException
- if the address cannot be activated due to a system-level failure.void deactivateSIPAddress(int position) throws InvalidArgumentException, InvalidStateException, ManagementException
position
- the list position of the address to deactivate. This must be a value between
0 and one less than the number of SIP addresses currently present.InvalidArgumentException
- if an invalid position is specified.InvalidStateException
- if the address is already in the INACTIVE state.ManagementException
- if the address cannot be activated due to a system-level failure.void repairSIPAddress(int position) throws InvalidArgumentException, InvalidStateException, ManagementException
position
- the list position of the address to reactivate. This must be a value between
0 and one less than the number of SIP addresses currently present.InvalidArgumentException
- if an invalid position is specified.InvalidStateException
- if the address is not in the FAILED state.ManagementException
- if the address cannot be reactivated due to a system-level failure.ExternalAddressState getSIPAddressState(int position) throws InvalidArgumentException, ManagementException
position
- the list position of the address. This must be a value between 0 and one less
than the number of SIP addresses currently present.InvalidArgumentException
- if an invalid position is specified.ManagementException
- if the current state of the address cannot be obtained due to a
system-level failure.void addINAddress(String address) throws NullPointerException, InvalidArgumentException, DuplicateAddressException, ManagementException
Any new address added to an external platform definition is assigned the ExternalAddressState.INACTIVE
state.
address
- the IN address. The address string must be formatted as described by
SccpAddressParser
NullPointerException
- if address
is null
.InvalidArgumentException
- if the address is not a valid address.DuplicateAddressException
- if the address has already been added to this external
platform definition.ManagementException
- if the address cannot be added due to a system-level failure.void addINAddress(String address, int position) throws NullPointerException, InvalidArgumentException, DuplicateAddressException, ManagementException
Any new address added to an external platform definition is assigned the ExternalAddressState.INACTIVE
state.
address
- the IN address. The address string must be formatted as described by
SccpAddressParser
position
- the list position to insert the address. A value less than or equal to zero
inserts the new address at the beginning of the list. A value greater than or equal to
the current number of addresses adds the new address to the end of the list.NullPointerException
- if address
is null
.InvalidArgumentException
- if the address is not a valid address.DuplicateAddressException
- if the address has already been added to this external
platform definition.ManagementException
- if the address cannot be added due to a system-level failure.void removeINAddress(int position) throws InvalidArgumentException, ManagementException
position
- the list position of the address to remove.. This must be a value between 0
and one less than the number of IN addresses currently present.InvalidArgumentException
- if an invalid position is specified.ManagementException
- if the address cannot be removed due to a system-level failure.void activateINAddress(int position) throws InvalidArgumentException, InvalidStateException, ManagementException
position
- the list position of the address to activate. This must be a value between 0
and one less than the number of IN addresses currently present.InvalidArgumentException
- if an invalid position is specified.InvalidStateException
- if the address is already in the ACTIVE state.ManagementException
- if the address cannot be activated due to a system-level failure.void deactivateINAddress(int position) throws InvalidArgumentException, InvalidStateException, ManagementException
position
- the list position of the address to deactivate. This must be a value between
0 and one less than the number of IN addresses currently present.InvalidArgumentException
- if an invalid position is specified.InvalidStateException
- if the address is already in the INACTIVE state.ManagementException
- if the address cannot be activated due to a system-level failure.void repairINAddress(int position) throws InvalidArgumentException, InvalidStateException, ManagementException
position
- the list position of the address to reactivate. This must be a value between
0 and one less than the number of IN addresses currently present.InvalidArgumentException
- if an invalid position is specified.InvalidStateException
- if the address is not in the FAILED state.ManagementException
- if the address cannot be reactivated due to a system-level failure.ExternalAddressState getINAddressState(int position) throws InvalidArgumentException, ManagementException
position
- the list position of the address. This must be a value between 0 and one less
than the number of IN addresses currently present.InvalidArgumentException
- if an invalid position is specified.ManagementException
- if the current state of the address cannot be obtained due to a
system-level failure.void remove() throws DependencyException, ManagementException
If this method returns without error, this MBean will be deregistered from the MBean Server.
DependencyException
- if the external platform definition cannot currently be
removed due to an external service reference dependency on it.ManagementException
- if the external platform definition could not be removed
due to a system-level failure.ExternalPlatformConfig getPlatformConfig() throws ManagementException
ExternalPlatformConfig
object describing the configuration of the
external platform definitionManagementException
- if the value could not be obtained due to a system-level failure.void setPlatformConfig(ExternalPlatformConfig config) throws InvalidArgumentException, ManagementException
config
- an ExternalPlatformConfig
object containing the new configurationInvalidArgumentException
- if any attributes of the configuration are invalidManagementException
- if the external platform definition could not be updated due
to a system-level failure.