|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sling.event.impl.jobs.JobConsumerManager
@Service(value=JobConsumerManager.class) @Reference(referenceInterface=JobConsumer.class, cardinality=OPTIONAL_MULTIPLE, policy=DYNAMIC) @Property(name="org.apache.sling.installer.configuration.persist", boolValue=false, propertyPrivate=true) public class JobConsumerManager
This component manages/keeps track of all job consumer services.
Constructor Summary | |
---|---|
JobConsumerManager()
|
Method Summary | |
---|---|
protected void |
activate(org.osgi.framework.BundleContext bc,
Map<String,Object> props)
|
protected void |
bindJobConsumer(org.osgi.framework.ServiceReference serviceReference)
Bind a new consumer |
protected void |
deactivate()
|
JobConsumer |
getConsumer(String topic)
Get the consumer for the topic. |
String |
getTopics()
Return the topics information of this instance. |
protected void |
modified(org.osgi.framework.BundleContext bc,
Map<String,Object> props)
|
boolean |
supportsBridgedEvents()
Does this instance supports bridged events? |
protected void |
unbindJobConsumer(org.osgi.framework.ServiceReference serviceReference)
Unbind a consumer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobConsumerManager()
Method Detail |
---|
@Activate protected void activate(org.osgi.framework.BundleContext bc, Map<String,Object> props)
@Modified protected void modified(org.osgi.framework.BundleContext bc, Map<String,Object> props)
@Deactivate protected void deactivate()
public JobConsumer getConsumer(String topic)
topic
- The job topic
null
public String getTopics()
public boolean supportsBridgedEvents()
protected void bindJobConsumer(org.osgi.framework.ServiceReference serviceReference)
serviceReference
- The service reference to the consumer.protected void unbindJobConsumer(org.osgi.framework.ServiceReference serviceReference)
serviceReference
- The service reference to the consumer.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |