|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.handler.wbp.WhiteBoardManager
public class WhiteBoardManager
Manage a white board pattern.
Constructor Summary | |
---|---|
WhiteBoardManager(WhiteBoardPatternHandler handler,
Filter filter,
String bind,
String unbind,
String modification)
Constructor. |
Method Summary | |
---|---|
void |
addedService(ServiceReference arg0)
A new service was added to the tracker. |
boolean |
addingService(ServiceReference arg0)
A new service is detected. |
void |
modifiedService(ServiceReference arg0,
Object arg1)
An existing service was modified. |
void |
removedService(ServiceReference arg0,
Object arg1)
A service disappears. |
void |
start()
Opens the tracker. |
void |
stop()
Closes the tracker. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WhiteBoardManager(WhiteBoardPatternHandler handler, Filter filter, String bind, String unbind, String modification)
handler
- the attached handlerfilter
- the monitored filterbind
- the onArrival methodunbind
- the onDeparture methodmodification
- the onModify methodMethod Detail |
---|
public void start()
public void stop()
public void addedService(ServiceReference arg0)
addedService
in interface TrackerCustomizer
arg0
- the service reference.TrackerCustomizer.addedService(org.osgi.framework.ServiceReference)
public boolean addingService(ServiceReference arg0)
addingService
in interface TrackerCustomizer
arg0
- the service reference
true
to add the service.TrackerCustomizer.addingService(org.osgi.framework.ServiceReference)
public void modifiedService(ServiceReference arg0, Object arg1)
modifiedService
in interface TrackerCustomizer
arg0
- the service referencearg1
- the service object (if already get)TrackerCustomizer.modifiedService(org.osgi.framework.ServiceReference, java.lang.Object)
public void removedService(ServiceReference arg0, Object arg1)
removedService
in interface TrackerCustomizer
arg0
- the service referencearg1
- the service object (if already get)TrackerCustomizer.removedService(org.osgi.framework.ServiceReference, java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |