org.apache.stanbol.enhancer.jobmanager.event.impl
Class EventJobManagerImpl
java.lang.Object
org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
- All Implemented Interfaces:
- EnhancementJobManager
@Service
@Properties(value=@Property(name="service.ranking",intValue=0))
public class EventJobManagerImpl
- extends java.lang.Object
- implements EnhancementJobManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SERVICE_RANKING
public static final int DEFAULT_SERVICE_RANKING
- See Also:
- Constant Field Values
chainManager
@Reference
protected ChainManager chainManager
engineManager
@Reference
protected EnhancementEngineManager engineManager
eventAdmin
@Reference
protected org.osgi.service.event.EventAdmin eventAdmin
EventJobManagerImpl
public EventJobManagerImpl()
activate
@Activate
protected void activate(org.osgi.service.component.ComponentContext ctx)
- Instantiates and registers the
EnhancementJobHandler as
EventHandler for the topic
Constants.TOPIC_JOB_MANAGER
- Parameters:
ctx -
deactivate
@Deactivate
protected void deactivate(org.osgi.service.component.ComponentContext ctx)
- Unregisters the
EnhancementJobHandler
- Parameters:
ctx -
enhanceContent
public void enhanceContent(ContentItem ci)
throws EngineException,
ChainException
- Specified by:
enhanceContent in interface EnhancementJobManager
- Throws:
EngineException
ChainException
enhanceContent
public void enhanceContent(ContentItem ci,
Chain chain)
throws EngineException,
ChainException
- Specified by:
enhanceContent in interface EnhancementJobManager
- Throws:
EngineException
ChainException
getActiveEngines
public java.util.List<EnhancementEngine> getActiveEngines()
- Specified by:
getActiveEngines in interface EnhancementJobManager
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.