|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.eventadmin.impl.tasks.HandlerTaskImpl
public class HandlerTaskImpl
An implementation of the HandlerTask interface.
Constructor Summary | |
---|---|
HandlerTaskImpl(org.osgi.framework.ServiceReference eventHandlerRef,
org.osgi.service.event.Event event,
BlacklistingHandlerTasks handlerTasks)
Construct a delivery task for the given service and event. |
Method Summary | |
---|---|
void |
blackListHandler()
Blacklist the handler. |
void |
execute()
Deliver the event to the handler. |
boolean |
finished()
Is the delivery finished |
String |
getHandlerClassName()
Return the class name of the handler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HandlerTaskImpl(org.osgi.framework.ServiceReference eventHandlerRef, org.osgi.service.event.Event event, BlacklistingHandlerTasks handlerTasks)
eventHandlerRef
- The servicereference of the handlerevent
- The event to deliverhandlerTasks
- Used to blacklist the service or get the service object
for the referenceMethod Detail |
---|
public String getHandlerClassName()
HandlerTask
getHandlerClassName
in interface HandlerTask
HandlerTask.getHandlerClassName()
public void execute()
HandlerTask
execute
in interface HandlerTask
HandlerTask.execute()
public void blackListHandler()
HandlerTask
blackListHandler
in interface HandlerTask
HandlerTask.blackListHandler()
public boolean finished()
HandlerTask
finished
in interface HandlerTask
HandlerTask.finished()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |