Java EE 5 SDK

com.sun.appserv.management.config
Interface LogServiceConfig

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

public interface LogServiceConfig
extends PropertiesAccess, Container, ConfigElement

Configuration for the <log-service> element.

See Also:
ModuleLogLevelsConfigKeys

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.base.Container
ATTR_CONTAINEE_J2EE_TYPES
 
Fields inherited from interface com.sun.appserv.management.config.AMXConfig
CONFIG_CREATED_NOTIFICATION_TYPE, CONFIG_OBJECT_NAME_KEY, CONFIG_REMOVED_NOTIFICATION_TYPE
 
Method Summary
 ModuleLogLevelsConfig createModuleLogLevelsConfig(Map<String,String> params)
          Creates new module-log-levels element.
 boolean getAlarms()
           
 String getFile()
           
 String getLogFilter()
           
 String getLogHandler()
           
 String getLogRotationLimitInBytes()
           
 String getLogRotationTimeLimitInMinutes()
           
 boolean getLogToConsole()
           
 ModuleLogLevelsConfig getModuleLogLevelsConfig()
          Get the ModuleLogLevelsConfig MBean.
 String getRetainErrorStatisticsForHours()
           
 boolean getUseSystemLogging()
           
 void removeModuleLogLevelsConfig()
          Removes module-log-levels element.
 void setAlarms(boolean value)
           
 void setFile(String value)
           
 void setLogFilter(String value)
           
 void setLogHandler(String value)
           
 void setLogRotationLimitInBytes(String value)
           
 void setLogRotationTimeLimitInMinutes(String value)
           
 void setLogToConsole(boolean value)
           
 void setRetainErrorStatisticsForHours(String hours)
           
 void setUseSystemLogging(boolean value)
           
 
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.Container
getByNameContaineeSet, getContainee, getContainee, getContaineeJ2EETypes, getContaineeMap, getContaineeSet, getContaineeSet, getContaineeSet, getMultiContaineeMap
 

Field Detail

J2EE_TYPE

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

See Also:
Constant Field Values
Method Detail

getAlarms

boolean getAlarms()

setAlarms

void setAlarms(boolean value)

getFile

String getFile()

setFile

void setFile(String value)

getLogFilter

String getLogFilter()

setLogFilter

void setLogFilter(String value)

getLogHandler

String getLogHandler()

setLogHandler

void setLogHandler(String value)

getLogRotationTimeLimitInMinutes

String getLogRotationTimeLimitInMinutes()
Since:
AppServer 9.0

setLogRotationTimeLimitInMinutes

void setLogRotationTimeLimitInMinutes(String value)

getLogRotationLimitInBytes

String getLogRotationLimitInBytes()

setLogRotationLimitInBytes

void setLogRotationLimitInBytes(String value)

getLogToConsole

boolean getLogToConsole()

setLogToConsole

void setLogToConsole(boolean value)

getUseSystemLogging

boolean getUseSystemLogging()

setUseSystemLogging

void setUseSystemLogging(boolean value)

getRetainErrorStatisticsForHours

String getRetainErrorStatisticsForHours()

setRetainErrorStatisticsForHours

void setRetainErrorStatisticsForHours(String hours)

createModuleLogLevelsConfig

ModuleLogLevelsConfig createModuleLogLevelsConfig(Map<String,String> params)
Creates new module-log-levels element.

Parameters:
params - Map of optional attributes whose keys are defined in ModuleLogLevelsParams class.
Returns:
A proxy to the ModuleLogLevelsConfig MBean.
See Also:
ModuleLogLevelsConfigKeys

removeModuleLogLevelsConfig

void removeModuleLogLevelsConfig()
Removes module-log-levels element.


getModuleLogLevelsConfig

ModuleLogLevelsConfig getModuleLogLevelsConfig()
Get the ModuleLogLevelsConfig MBean.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.