public interface NetworkInterfaceDefinitionMXBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name of this interface.
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Get this network interface's properties as a map.
|
void |
remove()
Remove this network interface from the SIP Servlet RA.
|
void |
updateProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Update this network interface definition's properties.
|
static final java.lang.String TYPE
java.lang.String getName() throws javax.slee.management.ManagementException
javax.slee.management.ManagementException
- if the operation could not be completed due to a system-level failure.java.util.Map<java.lang.String,java.lang.String> getProperties() throws javax.slee.management.ManagementException
javax.slee.management.ManagementException
- if the operation could not be completed due to a system-level failure.void updateProperties(java.util.Map<java.lang.String,java.lang.String> properties) throws java.lang.NullPointerException, javax.slee.resource.InvalidConfigurationException, javax.slee.management.ManagementException
properties
- a map of property names and values. The properties in this map replace all
existing properties on the network interface.java.lang.NullPointerException
- if properties
is null
.javax.slee.resource.InvalidConfigurationException
- if the SIP Servlet RA instance determines that the network
interface configuration is not valid.javax.slee.management.ManagementException
- if the update could not be completed due to a system-level failure.void remove() throws javax.slee.InvalidStateException, javax.slee.management.ManagementException
javax.slee.InvalidStateException
- if the interface cannot be removed because it is enabled on a SIP Servlet RA instance.javax.slee.management.ManagementException
- if the interface could not be removed due to a system-level failure.