|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.buglabs.osgi.filesystem.status.StatusManager
public class StatusManager
Creates and destroyes the status files that can be read by clients to inspect the runtime-state of the OSGi instance.
| Field Summary | |
|---|---|
static java.lang.String |
STATUS_DIR_NAME
|
| Constructor Summary | |
|---|---|
StatusManager(java.io.File root,
BundleContext context)
|
|
| Method Summary | |
|---|---|
void |
bundleChanged(BundleEvent arg0)
|
void |
run(java.util.Map services)
This is called for execution of application logic when OSGi services are available. |
void |
shutdown()
Called directly before the thread is interrupted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String STATUS_DIR_NAME
| Constructor Detail |
|---|
public StatusManager(java.io.File root,
BundleContext context)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void run(java.util.Map services)
ServiceTrackerHelper.ManagedRunnable
run in interface ServiceTrackerHelper.ManagedRunnableservices - key contains String of service name, value is service instance.public void shutdown()
ServiceTrackerHelper.ManagedRunnable
shutdown in interface ServiceTrackerHelper.ManagedRunnablepublic void bundleChanged(BundleEvent arg0)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||