Interface TriggerAddressTracingManagementMBean
-
- All Known Subinterfaces:
SipTriggerAddressTracingManagementMBean
public interface TriggerAddressTracingManagementMBeanSIS RA management interface for managing trigger addresses for fine-grained tracing.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSIS_MANAGEMENT_TYPEThe type of this MBean.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDebugLevel(String address)Get the debug level for the specified trigger address in the SIS RA entity.StringgetTriggerAddressTracingProfileTableName()Get the name of the current trigger address tracing profile table in the SIS RA entity.booleanisAuditLoggingEnabled(String address)Determine whether audit logging is enabled for a trigger address.voidsetAuditLoggingEnabled(String address, boolean enabled)Set the audit logging flag for a trigger address.voidsetDebugLevel(String address, int debugLevel)Set the debug level for the specified trigger address in the SIS RA entity.voidsetTriggerAddressTracingProfileTableName(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
nullif 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- ifaddressisnull.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- ifaddressisnull.IllegalArgumentException- ifdebugLevelis 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.ALLorAuditLevel.COMPONENT, then an audit record will be logged for all calls that match the address.- Parameters:
address- the address.- Returns:
trueif audit logging is enabled- Throws:
NullPointerException- ifaddressisnull.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.ALLorAuditLevel.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- ifaddressisnull.ManagementException- if an error occurs communicating with the management server.- See Also:
ConfigurationManagementMBean.setAuditLevel(com.opencloud.slee.resources.sis.management.AuditLevel)
-
-