public interface TriggerAddressTracingManagementMBean
Modifier and Type | Field and Description |
---|---|
static String |
SIS_MANAGEMENT_TYPE
The type of this MBean.
|
Modifier and Type | Method and Description |
---|---|
int |
getDebugLevel(String address)
Get the debug level for the specified trigger address in the SIS RA entity.
|
TriggerAddressTracingSelector[] |
getSelectors(boolean originating)
Deprecated.
use
getSelectors(TriggerType) instead. |
TriggerAddressTracingSelector[] |
getSelectors(TriggerType triggerType)
Get the trigger address tracing selectors for 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 |
setSelectors(boolean originating,
TriggerAddressTracingSelector[] selectors)
Deprecated.
|
void |
setSelectors(TriggerType triggerType,
TriggerAddressTracingSelector[] selectors)
Set the trigger address tracing selectors for the SIS RA entity.
|
void |
setTriggerAddressTracingProfileTableName(String tableName)
Set the name of the trigger address tracing profile table in the SIS RA entity.
|
static final String SIS_MANAGEMENT_TYPE
String getTriggerAddressTracingProfileTableName() throws ManagementException
null
if none has been configured.ManagementException
- if an error occurs communicating with the management server.setTriggerAddressTracingProfileTableName(java.lang.String)
void setTriggerAddressTracingProfileTableName(String tableName) throws ManagementException
tableName
- the new name of the trigger address tracing profile table. May be null
.ManagementException
- if an error occurs communicating with the management server.getTriggerAddressTracingProfileTableName()
int getDebugLevel(String address) throws NullPointerException, ManagementException
address
- the address.NullPointerException
- if address
is null
.ManagementException
- if an error occurs communicating with the management server.setDebugLevel(java.lang.String, int)
void setDebugLevel(String address, int debugLevel) throws NullPointerException, IllegalArgumentException, ManagementException
address
- the address.debugLevel
- the debug level.NullPointerException
- if address
is null
.IllegalArgumentException
- if debugLevel
is not valid.ManagementException
- if an error occurs communicating with the management server.getDebugLevel(java.lang.String)
boolean isAuditLoggingEnabled(String address) throws NullPointerException, ManagementException
If enabled, and the SIS's audit logging level is set to AuditLevel.ALL
or AuditLevel.COMPONENT
,
then an audit record will be logged for all calls that match the address.
address
- the address.true
if audit logging is enabledNullPointerException
- if address
is null
.ManagementException
- if an error occurs communicating with the management server.ConfigurationManagementMBean.setAuditLevel(com.opencloud.slee.resources.sis.management.AuditLevel)
void setAuditLoggingEnabled(String address, boolean enabled) throws NullPointerException, ManagementException
If enabled, and the SIS's audit logging level is set to AuditLevel.ALL
or AuditLevel.COMPONENT
,
then an audit record will be logged for all calls that match the address.
address
- the address.enabled
- boolean value to specify if audit logging should be enabledNullPointerException
- if address
is null
.ManagementException
- if an error occurs communicating with the management server.ConfigurationManagementMBean.setAuditLevel(com.opencloud.slee.resources.sis.management.AuditLevel)
@Deprecated TriggerAddressTracingSelector[] getSelectors(boolean originating) throws ManagementException
getSelectors(TriggerType)
instead.originating
- if true
, the selectors for originating triggers is obtained,
otherwise the selectors for terminating triggers is obtained.ManagementException
- if an error occurs communicating with the management server.setSelectors(boolean, com.opencloud.slee.resources.sis.management.TriggerAddressTracingSelector[])
TriggerAddressTracingSelector[] getSelectors(TriggerType triggerType) throws NullPointerException, ManagementException
triggerType
- the type of trigger to get the selectors for.NullPointerException
- if triggerType
is null
.ManagementException
- if an error occurs communicating with the management server.setSelectors(boolean, com.opencloud.slee.resources.sis.management.TriggerAddressTracingSelector[])
@Deprecated void setSelectors(boolean originating, TriggerAddressTracingSelector[] selectors) throws ManagementException
setSelectors(TriggerType, TriggerAddressTracingSelector[])
instead.fine-grained tracing
is enabled. For each selector, the debug level of the address in the selected parameter
(if present) is obtained from the trigger address tracing profile table. The highest
debug level found is used.originating
- if true
, the selectors for originating triggers is updated,
otherwise the selectors for terminating triggers is updated.selectors
- the selectors. May be null
.ManagementException
- if an error occurs communicating with the management server.getSelectors(boolean)
void setSelectors(TriggerType triggerType, TriggerAddressTracingSelector[] selectors) throws NullPointerException, ManagementException
fine-grained tracing
is enabled. For each selector, the debug level of the address in the selected parameter
(if present) is obtained from the trigger address tracing profile table. The highest
debug level found is used.triggerType
- the type of trigger to set the selectors for.selectors
- the selectors. May be null
.NullPointerException
- if triggerType
is null
.ManagementException
- if an error occurs communicating with the management server.getSelectors(boolean)