Package de.mnl.osgi.jul2osgi
Class Forwarder
- java.lang.Object
-
- de.mnl.osgi.coreutils.ServiceResolver
-
- de.mnl.osgi.jul2osgi.Forwarder
-
- All Implemented Interfaces:
de.mnl.osgi.jul2osgi.lib.LogRecordHandler
,AutoCloseable
,BundleActivator
public class Forwarder extends de.mnl.osgi.coreutils.ServiceResolver implements de.mnl.osgi.jul2osgi.lib.LogRecordHandler
-
-
Constructor Summary
Constructors Constructor Description Forwarder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
boolean
process(de.mnl.osgi.jul2osgi.lib.LogManager.LogInfo logInfo)
void
processBuffered(de.mnl.osgi.jul2osgi.lib.LogManager.LogInfo[] logInfos)
Process events that are delivered .void
stop(BundleContext context)
-
Methods inherited from class de.mnl.osgi.coreutils.ServiceResolver
addDependency, addDependency, addDependency, addDependency, addOptionalDependency, addOptionalDependency, addOptionalDependency, addOptionalDependency, close, get, get, isOpen, isResolved, onDissolving, onRebound, onResolved, open, optional, optional, setOnDissolving, setOnRebound, setOnResolved, start, with, with
-
-
-
-
Constructor Detail
-
Forwarder
public Forwarder()
-
-
Method Detail
-
configure
protected void configure()
- Overrides:
configure
in classde.mnl.osgi.coreutils.ServiceResolver
-
stop
public void stop(BundleContext context) throws Exception
- Specified by:
stop
in interfaceBundleActivator
- Overrides:
stop
in classde.mnl.osgi.coreutils.ServiceResolver
- Throws:
Exception
-
process
public boolean process(de.mnl.osgi.jul2osgi.lib.LogManager.LogInfo logInfo)
- Specified by:
process
in interfacede.mnl.osgi.jul2osgi.lib.LogRecordHandler
-
processBuffered
public void processBuffered(de.mnl.osgi.jul2osgi.lib.LogManager.LogInfo[] logInfos)
Process events that are delivered .- Specified by:
processBuffered
in interfacede.mnl.osgi.jul2osgi.lib.LogRecordHandler
- Parameters:
logInfos
- the log infos
-
-