Interface ConfigurationManagementMBean
-
- All Known Subinterfaces:
INConfigurationManagementMBean
public interface ConfigurationManagementMBeanConfiguration attributes shared by all SIS implementations.
-
-
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 AuditLevelgetAuditLevel()Determine the level of audit logging configured for the SIS RA entity.longgetDefaultServiceTimeout()Get the default service timeout for the SIS RA entity.StringgetDescription()Get the SIS RA entity description.booleangetFineGrainedTracingEnabled()Determine if fine-grained tracing has been enabled for the SIS RA entity.voidsetAuditLevel(AuditLevel level)Set the level of audit logging for the SIS RA entity.voidsetDefaultServiceTimeout(long timeout)Set the default service timeout for the SIS RA entity.voidsetDescription(String desc)Set the SIS RA entity description.voidsetFineGrainedTracingEnabled(boolean enabled)Enable or disable fine-grained tracing for 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
-
getDescription
String getDescription() throws ManagementException
Get the SIS RA entity description. The description has no operation effect on the SIS. It is purely for informational purposes only.- Returns:
- the description.
- Throws:
ManagementException- if an error occurs communicating with the management server.- See Also:
setDescription(java.lang.String)
-
setDescription
void setDescription(String desc) throws ManagementException
Set the SIS RA entity description.- Parameters:
desc- the new description. May benull.- Throws:
ManagementException- if an error occurs communicating with the management server.- See Also:
getDescription()
-
getFineGrainedTracingEnabled
boolean getFineGrainedTracingEnabled() throws ManagementExceptionDetermine if fine-grained tracing has been enabled for the SIS RA entity. Any debug level associated with a selected component (composition, subscription etc) is ignored by the SIS unless fine-grained tracing has been enabled.- Returns:
trueif fine-grained tracing is enabled,falseotherwise.- Throws:
ManagementException- if an error occurs communicating with the management server.- See Also:
setFineGrainedTracingEnabled(boolean)
-
setFineGrainedTracingEnabled
void setFineGrainedTracingEnabled(boolean enabled) throws ManagementExceptionEnable or disable fine-grained tracing for the SIS RA entity.The SIS RA's configuration must be reloaded before the configuration changes caused by this method take effect.
- Parameters:
enabled- boolean value indicating whether fine-grained tracing should be enabled or not.- Throws:
ManagementException- if an error occurs communicating with the management server.- See Also:
getFineGrainedTracingEnabled()
-
getAuditLevel
AuditLevel getAuditLevel() throws ManagementException
Determine the level of audit logging configured for the SIS RA entity.- Returns:
- the
AuditLevelconfigured for the SIS RA entity. - Throws:
ManagementException- if an error occurs communicating with the management server.- See Also:
AuditLevel
-
setAuditLevel
void setAuditLevel(AuditLevel level) throws ManagementException
Set the level of audit logging for the SIS RA entity.The SIS RA's configuration must be reloaded before the configuration changes caused by this method take effect.
- Parameters:
level- the desiredAuditLevelfor the SIS RA entity.- Throws:
ManagementException- if an error occurs communicating with the management server.- See Also:
AuditLevel
-
getDefaultServiceTimeout
long getDefaultServiceTimeout() throws ManagementExceptionGet the default service timeout for the SIS RA entity. This is the timeout used when the SIS is waiting for a response from a service. The default timeout is used if a specific timeout has not been set for the particular service viaServiceRefManagementMBean.setDefaultTimeout(com.opencloud.slee.resources.sis.components.ServiceRefID, long).- Returns:
- the default service timeout.
- Throws:
ManagementException- if an error occurs communicating with the management server.- See Also:
setDefaultServiceTimeout(long)
-
setDefaultServiceTimeout
void setDefaultServiceTimeout(long timeout) throws IllegalArgumentException, ManagementExceptionSet the default service timeout for the SIS RA entity.The SIS RA's configuration must be reloaded before the configuration changes caused by this method take effect..
- Parameters:
timeout- the timeout, measured in milliseconds. Must be at least 100ms.- Throws:
IllegalArgumentException- iftimeout < 100.ManagementException- if an error occurs communicating with the management server.- See Also:
getDefaultServiceTimeout()
-
-