Interface TriggerAddressTracingManagementMBean
-
- All Known Subinterfaces:
SipTriggerAddressTracingManagementMBean
public interface TriggerAddressTracingManagementMBean
SIS RA management interface for managing trigger addresses for fine-grained tracing.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SIS_MANAGEMENT_TYPE
The type of this MBean.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getDebugLevel(String address)
Get the debug level for the specified trigger address in the SIS RA entity.String
getTriggerAddressTracingProfileTableName()
Get the name of the current trigger address tracing profile table in the SIS RA entity.boolean
isAuditLoggingEnabled(String address)
Determine whether audit logging is enabled for a trigger address.void
setAuditLoggingEnabled(String address, boolean enabled)
Set the audit logging flag for a trigger address.void
setDebugLevel(String address, int debugLevel)
Set the debug level for the specified trigger address in the SIS RA entity.void
setTriggerAddressTracingProfileTableName(String tableName)
Set the name of the trigger address tracing profile table in the SIS RA entity.
-
-
-
Field Detail
-
SIS_MANAGEMENT_TYPE
static final String SIS_MANAGEMENT_TYPE
The type of this MBean. This value is used as part of the MBean's Object Name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getTriggerAddressTracingProfileTableName
String getTriggerAddressTracingProfileTableName() throws ManagementException
Get the name of the current trigger address tracing profile table in the SIS RA entity.- Returns:
- the name of the current trigger address tracing profile table, or
null
if none has been configured. - Throws:
ManagementException
- if an error occurs communicating with the management server.- See Also:
setTriggerAddressTracingProfileTableName(java.lang.String)
-
setTriggerAddressTracingProfileTableName
void setTriggerAddressTracingProfileTableName(String tableName) throws ManagementException
Set the name of the trigger address tracing profile table in the SIS RA entity.- Parameters:
tableName
- the new name of the trigger address tracing profile table. May benull
.- Throws:
ManagementException
- if an error occurs communicating with the management server.- See Also:
getTriggerAddressTracingProfileTableName()
-
getDebugLevel
int getDebugLevel(String address) throws NullPointerException, ManagementException
Get the debug level for the specified trigger address in the SIS RA entity.- Parameters:
address
- the address.- Returns:
- the debug level for the address.
- Throws:
NullPointerException
- ifaddress
isnull
.ManagementException
- if an error occurs communicating with the management server.- See Also:
setDebugLevel(java.lang.String, int)
-
setDebugLevel
void setDebugLevel(String address, int debugLevel) throws NullPointerException, IllegalArgumentException, ManagementException
Set the debug level for the specified trigger address in the SIS RA entity. Fine-grained tracing debug levels are given in the package summary.- Parameters:
address
- the address.debugLevel
- the debug level.- Throws:
NullPointerException
- ifaddress
isnull
.IllegalArgumentException
- ifdebugLevel
is not valid.ManagementException
- if an error occurs communicating with the management server.- See Also:
getDebugLevel(java.lang.String)
-
isAuditLoggingEnabled
boolean isAuditLoggingEnabled(String address) throws NullPointerException, ManagementException
Determine whether audit logging is enabled for a trigger address.If enabled, and the SIS's audit logging level is set to
AuditLevel.ALL
orAuditLevel.COMPONENT
, then an audit record will be logged for all calls that match the address.- Parameters:
address
- the address.- Returns:
true
if audit logging is enabled- Throws:
NullPointerException
- ifaddress
isnull
.ManagementException
- if an error occurs communicating with the management server.- See Also:
ConfigurationManagementMBean.setAuditLevel(com.opencloud.slee.resources.sis.management.AuditLevel)
-
setAuditLoggingEnabled
void setAuditLoggingEnabled(String address, boolean enabled) throws NullPointerException, ManagementException
Set the audit logging flag for a trigger address.If enabled, and the SIS's audit logging level is set to
AuditLevel.ALL
orAuditLevel.COMPONENT
, then an audit record will be logged for all calls that match the address.- Parameters:
address
- the address.enabled
- boolean value to specify if audit logging should be enabled- Throws:
NullPointerException
- ifaddress
isnull
.ManagementException
- if an error occurs communicating with the management server.- See Also:
ConfigurationManagementMBean.setAuditLevel(com.opencloud.slee.resources.sis.management.AuditLevel)
-
-