|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.buglabs.osgi.filesystem.init.InitManager
public class InitManager
| Field Summary | |
|---|---|
static java.lang.String |
INSTALL_DIR_STRING
|
static java.lang.String |
RUN_LEVEL_STRING
|
| Constructor Summary | |
|---|---|
InitManager(java.io.File rootDir,
LogService log)
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getDirectoryNameForFile(java.io.File file)
|
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 RUN_LEVEL_STRING
public static final java.lang.String INSTALL_DIR_STRING
| Constructor Detail |
|---|
public InitManager(java.io.File rootDir,
LogService log)
| 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.ManagedRunnable
public static java.lang.String getDirectoryNameForFile(java.io.File file)
throws java.io.IOException
file -
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||