Class ComponentBlackListService

java.lang.Object
org.adempiere.base.ComponentBlackListService
All Implemented Interfaces:
EventListener, org.osgi.framework.ServiceListener

public class ComponentBlackListService extends Object implements org.osgi.framework.ServiceListener
Service listener to block the loading of OSGi component.
To block the loading of an OSGi component, append the OSGi component's component name to {IDEMPIERE_HOME}/components.blacklist file.
Author:
hengsin
  • Constructor Details

    • ComponentBlackListService

      protected ComponentBlackListService(org.osgi.framework.BundleContext context)
  • Method Details

    • stop

      public void stop(org.osgi.framework.BundleContext context)
    • serviceChanged

      public void serviceChanged(org.osgi.framework.ServiceEvent event)
      Specified by:
      serviceChanged in interface org.osgi.framework.ServiceListener