1 23 24 29 30 31 package com.sun.appserv.management.config; 32 33 import com.sun.appserv.management.base.XTypes; 34 35 36 37 import java.util.Map ; 38 39 40 import com.sun.appserv.management.base.Container; 41 42 47 public interface LogServiceConfig 48 extends PropertiesAccess, Container, ConfigElement 49 { 50 51 public static final String J2EE_TYPE = XTypes.LOG_SERVICE_CONFIG; 52 53 54 public boolean getAlarms(); 55 public void setAlarms( boolean value ); 56 57 public String getFile(); 58 public void setFile( String value ); 59 60 public String getLogFilter(); 61 public void setLogFilter( String value ); 62 63 public String getLogHandler(); 64 public void setLogHandler( String value ); 65 66 69 public String getLogRotationTimeLimitInMinutes(); 70 public void setLogRotationTimeLimitInMinutes( String value ); 71 72 public String getLogRotationLimitInBytes(); 73 public void setLogRotationLimitInBytes( String value ); 74 75 public boolean getLogToConsole(); 76 public void setLogToConsole( boolean value ); 77 78 public boolean getUseSystemLogging(); 79 public void setUseSystemLogging( boolean value ); 80 81 82 public String getRetainErrorStatisticsForHours(); 83 public void setRetainErrorStatisticsForHours( String hours ); 84 85 94 public ModuleLogLevelsConfig createModuleLogLevelsConfig( Map <String ,String > params ); 95 96 99 public void removeModuleLogLevelsConfig(); 100 101 104 public ModuleLogLevelsConfig getModuleLogLevelsConfig(); 105 } 106 | Popular Tags |