Class LoggerFacadeManager

    • Method Detail

      • registerFacade

        public static void registerFacade​(LoggerFacade loggerFacade)
        Register the given facade for receiving updates when the logger factory changes.
        Parameters:
        loggerFacade - the logger facade
      • configure

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

        protected void onResolved()
        Overrides:
        onResolved in class de.mnl.osgi.coreutils.ServiceResolver
      • onRebound

        protected void onRebound​(String dependency)
        Overrides:
        onRebound in class de.mnl.osgi.coreutils.ServiceResolver
      • contextOperation

        public static void contextOperation​(Consumer<BundleContext> operation)
        Execute an operation that depends on the availability of the bundle context. If a context is available, the operation is executed at once. Else, it is delayed until the context becomes available.
        Parameters:
        operation - the operation
      • onDissolving

        protected void onDissolving()
        Overrides:
        onDissolving in class de.mnl.osgi.coreutils.ServiceResolver