org.apache.geronimo.system.logging
Class OSGILogServiceWrapper
java.lang.Object
org.apache.geronimo.system.logging.OSGILogServiceWrapper
- All Implemented Interfaces:
- GBeanLifecycle, SystemLog
public class OSGILogServiceWrapper
- extends java.lang.Object
- implements SystemLog, GBeanLifecycle
- Version:
- $Rev: 945526 $ $Date: 2010-05-18 15:45:22 +0800 (Tue, 18 May 2010) $
|
Constructor Summary |
OSGILogServiceWrapper(org.osgi.framework.BundleContext bundleContext,
java.lang.String filter)
|
| 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")
java.lang.String filter)
getConfigFileName
public java.lang.String getConfigFileName()
- Specified by:
getConfigFileName in interface SystemLog
getLogFileNames
public java.lang.String[] getLogFileNames()
- Specified by:
getLogFileNames in interface SystemLog
getMatchingItems
public SystemLog.SearchResults getMatchingItems(java.lang.String logFile,
java.lang.Integer firstLine,
java.lang.Integer lastLine,
java.lang.String minLevel,
java.lang.String regex,
int maxResults,
boolean includeStackTraces)
- Specified by:
getMatchingItems in interface SystemLog
getRefreshPeriodSeconds
public int getRefreshPeriodSeconds()
- Specified by:
getRefreshPeriodSeconds in interface SystemLog
getRootLoggerLevel
public java.lang.String getRootLoggerLevel()
- Specified by:
getRootLoggerLevel in interface SystemLog
setConfigFileName
public void setConfigFileName(java.lang.String fileName)
- Specified by:
setConfigFileName in interface SystemLog
setRefreshPeriodSeconds
public void setRefreshPeriodSeconds(int seconds)
- Specified by:
setRefreshPeriodSeconds in interface SystemLog
setRootLoggerLevel
public void setRootLoggerLevel(java.lang.String level)
- Specified by:
setRootLoggerLevel in interface SystemLog
doFail
public void doFail()
- Specified by:
doFail in interface GBeanLifecycle
doStart
public void doStart()
throws java.lang.Exception
- Specified by:
doStart in interface GBeanLifecycle
- Throws:
java.lang.Exception
doStop
public void doStop()
throws java.lang.Exception
- Specified by:
doStop in interface GBeanLifecycle
- Throws:
java.lang.Exception
Copyright © 2003-2012 The Apache Geronimo development community. All Rights Reserved.