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
ConstructorsModifierConstructorDescriptionprotectedComponentBlackListService(org.osgi.framework.BundleContext context)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic String[]Get the component names that have been disabledvoidserviceChanged(org.osgi.framework.ServiceEvent event) voidstop(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:
 serviceChangedin interfaceorg.osgi.framework.ServiceListener
 - 
getBlackListComponentNames
Get the component names that have been disabled- Returns:
 - array of component names that have been disabled
 
 
 -