Java EE 5 SDK

com.sun.appserv.management.config
Interface DiagnosticServiceConfig

All Superinterfaces:
AMX, AMXConfig, AMXMBeanLogging, ConfigElement, NotificationBroadcaster, NotificationEmitter, PropertiesAccess

public interface DiagnosticServiceConfig
extends PropertiesAccess, ConfigElement

Configuration for the <diagnostic-service> for a <config> in a domain. This element controls the output of the diagnostic information collected when requested by the management clients. The actual information collected is documented in product documentation.

Since:
Appserver 9.0

Field Summary
static String J2EE_TYPE
          The j2eeType as returned by AMX.getJ2EEType().
 
Fields inherited from interface com.sun.appserv.management.config.PropertiesAccess
PROPERTY_PREFIX
 
Fields inherited from interface com.sun.appserv.management.config.AMXConfig
CONFIG_CREATED_NOTIFICATION_TYPE, CONFIG_OBJECT_NAME_KEY, CONFIG_REMOVED_NOTIFICATION_TYPE
 
Fields inherited from interface com.sun.appserv.management.base.AMX
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME
 
Method Summary
 boolean getCaptureAppDD()
           
 boolean getCaptureHADBInfo()
           
 boolean getCaptureInstallLog()
           
 boolean getCaptureSystemInfo()
           
 boolean getComputeChecksum()
           
 String getMaxLogEntries()
           
 String getMinLogLevel()
          The level at which the messages for diagnostic services will be retrieved.
 boolean getVerifyConfig()
          Indicates whether output of verify-config asadmin command is included in the diagnostic report.
 void setCaptureAppDD(boolean value)
          See getCaptureAppDD().
 void setCaptureHADBInfo(boolean value)
          See getCaptureHADBInfo().
 void setCaptureInstallLog(boolean value)
          See getCaptureInstallLog().
 void setCaptureSystemInfo(boolean value)
          Set capturing system information to specified value.
 void setComputeChecksum(boolean value)
          See getComputeChecksum().
 void setMaxLogEntries(String entries)
          See getMaxLogEntries().
 void setMinLogLevel(String level)
          See getMinLogLevel().
 void setVerifyConfig(boolean verify)
          See getVerifyConfig()
 
Methods inherited from interface com.sun.appserv.management.config.PropertiesAccess
createProperty, existsProperty, getProperties, getPropertyNames, getPropertyValue, removeProperty, setPropertyValue
 
Methods inherited from interface com.sun.appserv.management.base.AMX
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel
 

Field Detail

J2EE_TYPE

static final String J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType().

See Also:
Constant Field Values
Method Detail

getComputeChecksum

boolean getComputeChecksum()
Returns:
true if the diagnostic service is computing the checksum for the data

setComputeChecksum

void setComputeChecksum(boolean value)
See getComputeChecksum().


getCaptureInstallLog

boolean getCaptureInstallLog()
Returns:
true if installation log is collected for diagnosis, false otherwise

setCaptureInstallLog

void setCaptureInstallLog(boolean value)
See getCaptureInstallLog().


getCaptureSystemInfo

boolean getCaptureSystemInfo()
Returns:
true if operating system information is being collected, false otherwise

setCaptureSystemInfo

void setCaptureSystemInfo(boolean value)
Set capturing system information to specified value.


getCaptureHADBInfo

boolean getCaptureHADBInfo()
Returns:
true if HA data-base information is being collected, false otherwise

setCaptureHADBInfo

void setCaptureHADBInfo(boolean value)
See getCaptureHADBInfo().


getCaptureAppDD

boolean getCaptureAppDD()
Returns:
true if app deployment descriptor data is being collected, false otherwise

setCaptureAppDD

void setCaptureAppDD(boolean value)
See getCaptureAppDD().


getMinLogLevel

String getMinLogLevel()
The level at which the messages for diagnostic services will be retrieved. All the messages at a level equal to or more than this level will be captured.

Returns:
the log level of the messages for diagnostic service
See Also:
Level

setMinLogLevel

void setMinLogLevel(String level)
See getMinLogLevel(). The specified value must be a valid Level.


getMaxLogEntries

String getMaxLogEntries()
Returns:
number of log entries to be read from the log file. Defaults to 500.

setMaxLogEntries

void setMaxLogEntries(String entries)
See getMaxLogEntries().


getVerifyConfig

boolean getVerifyConfig()
Indicates whether output of verify-config asadmin command is included in the diagnostic report.


setVerifyConfig

void setVerifyConfig(boolean verify)
See getVerifyConfig()


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.