FileDocCategorySizeDatePackage
LogServiceConfig.javaAPI DocGlassfish v2 API4100Fri May 04 22:30:34 BST 2007com.sun.appserv.management.config

LogServiceConfig

public interface LogServiceConfig implements com.sun.appserv.management.base.Container, ConfigElement, PropertiesAccess
Configuration for the <log-service> element.
see
ModuleLogLevelsConfigKeys

Fields Summary
public static final String
J2EE_TYPE
The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}.
Constructors Summary
Methods Summary
public ModuleLogLevelsConfigcreateModuleLogLevelsConfig(java.util.Map params)
Creates new module-log-levels element.

param
params Map of optional attributes whose keys are defined in ModuleLogLevelsParams class.
return
A proxy to the ModuleLogLevelsConfig MBean.
see
ModuleLogLevelsConfigKeys

public booleangetAlarms()

public java.lang.StringgetFile()

public java.lang.StringgetLogFilter()

public java.lang.StringgetLogHandler()

public java.lang.StringgetLogRotationLimitInBytes()

public java.lang.StringgetLogRotationTimeLimitInMinutes()

since
AppServer 9.0

public booleangetLogToConsole()

public ModuleLogLevelsConfiggetModuleLogLevelsConfig()
Get the ModuleLogLevelsConfig MBean.

public java.lang.StringgetRetainErrorStatisticsForHours()

public booleangetUseSystemLogging()

public voidremoveModuleLogLevelsConfig()
Removes module-log-levels element.

public voidsetAlarms(boolean value)

public voidsetFile(java.lang.String value)

public voidsetLogFilter(java.lang.String value)

public voidsetLogHandler(java.lang.String value)

public voidsetLogRotationLimitInBytes(java.lang.String value)

public voidsetLogRotationTimeLimitInMinutes(java.lang.String value)

public voidsetLogToConsole(boolean value)

public voidsetRetainErrorStatisticsForHours(java.lang.String hours)

public voidsetUseSystemLogging(boolean value)