Package org.adempiere.base
Class ComponentBlackListService
java.lang.Object
org.adempiere.base.ComponentBlackListService
- All Implemented Interfaces:
EventListener
,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.
To block the loading of an OSGi component, append the OSGi component's component name to {IDEMPIERE_HOME}/components.blacklist file.
- Author:
- hengsin
-
Constructor Summary
ModifierConstructorDescriptionprotected
ComponentBlackListService
(org.osgi.framework.BundleContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoid
serviceChanged
(org.osgi.framework.ServiceEvent event) void
stop
(org.osgi.framework.BundleContext context)
-
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 interfaceorg.osgi.framework.ServiceListener
-