org.apache.geronimo.system.logging
Class OSGILogServiceWrapper
java.lang.Object
org.apache.geronimo.system.logging.OSGILogServiceWrapper
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle, org.apache.geronimo.logging.SystemLog
public class OSGILogServiceWrapper
- extends Object
- implements org.apache.geronimo.logging.SystemLog, org.apache.geronimo.gbean.GBeanLifecycle
- Version:
- $Rev: 945526 $ $Date: 2010-05-18 15:45:22 +0800 (Tue, 18 May 2010) $
| Nested classes/interfaces inherited from interface org.apache.geronimo.logging.SystemLog |
org.apache.geronimo.logging.SystemLog.LogMessage, org.apache.geronimo.logging.SystemLog.SearchResults |
| Fields inherited from interface org.apache.geronimo.logging.SystemLog |
MAX_SEARCH_RESULTS |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSGILogServiceWrapper
public OSGILogServiceWrapper(@ParamSpecial(type=bundleContext)
org.osgi.framework.BundleContext bundleContext,
@ParamAttribute(name="filter")
String filter)
getConfigFileName
public String getConfigFileName()
- Specified by:
getConfigFileName in interface org.apache.geronimo.logging.SystemLog
getLogFileNames
public String[] getLogFileNames()
- Specified by:
getLogFileNames in interface org.apache.geronimo.logging.SystemLog
getMatchingItems
public org.apache.geronimo.logging.SystemLog.SearchResults getMatchingItems(String logFile,
Integer firstLine,
Integer lastLine,
String minLevel,
String regex,
int maxResults,
boolean includeStackTraces)
- Specified by:
getMatchingItems in interface org.apache.geronimo.logging.SystemLog
getRefreshPeriodSeconds
public int getRefreshPeriodSeconds()
- Specified by:
getRefreshPeriodSeconds in interface org.apache.geronimo.logging.SystemLog
getRootLoggerLevel
public String getRootLoggerLevel()
- Specified by:
getRootLoggerLevel in interface org.apache.geronimo.logging.SystemLog
setConfigFileName
public void setConfigFileName(String fileName)
- Specified by:
setConfigFileName in interface org.apache.geronimo.logging.SystemLog
setRefreshPeriodSeconds
public void setRefreshPeriodSeconds(int seconds)
- Specified by:
setRefreshPeriodSeconds in interface org.apache.geronimo.logging.SystemLog
setRootLoggerLevel
public void setRootLoggerLevel(String level)
- Specified by:
setRootLoggerLevel in interface org.apache.geronimo.logging.SystemLog
doFail
public void doFail()
- Specified by:
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle
doStart
public void doStart()
throws Exception
- Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
Copyright © 2003-2013 The Apache Geronimo development community. All Rights Reserved.