|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.buglabs.application.AbstractServiceTracker
com.buglabs.osgi.sewing.servicetracker.SewingServiceTracker
public class SewingServiceTracker
Service tracker for the BugApp Bundle;
| Field Summary |
|---|
| Fields inherited from class com.buglabs.application.AbstractServiceTracker |
|---|
context, services |
| Constructor Summary | |
|---|---|
SewingServiceTracker(BundleContext context)
|
|
| Method Summary | |
|---|---|
boolean |
canStart()
Determines if the application can start. |
void |
doStart()
If canStart returns true this method is called to start the application. |
void |
doStop()
Called when a service that this application depends is unregistered. |
void |
initServices()
Allows the user to set the service dependencies by adding them to services list returned by getServices(). |
| Methods inherited from class com.buglabs.application.AbstractServiceTracker |
|---|
addingService, addServiceFilters, getBundleContext, getService, getServicePropertiesMap, getServices, hasStarted, modifiedService, removedService, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SewingServiceTracker(BundleContext context)
| Method Detail |
|---|
public boolean canStart()
canStart in class AbstractServiceTrackerpublic void doStart()
doStart in class AbstractServiceTrackerpublic void doStop()
doStop in class AbstractServiceTrackerpublic void initServices()
initServices in class AbstractServiceTracker
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||