Class 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
    • Field Summary

      • Fields inherited from class de.mnl.osgi.coreutils.ServiceResolver

        context
    • 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
    • Method Detail

      • configure

        protected void configure()
        Overrides:
        configure in class de.mnl.osgi.coreutils.ServiceResolver
      • process

        public boolean process​(de.mnl.osgi.jul2osgi.lib.LogManager.LogInfo logInfo)
        Specified by:
        process in interface de.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 interface de.mnl.osgi.jul2osgi.lib.LogRecordHandler
        Parameters:
        logInfos - the log infos