|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFramework
Interface that needs to be implemented for the implementation in the framework.
| Method Summary | |
|---|---|
void |
configure(java.net.URL config)
Configure the Felix gateway by using the given configuration file. |
org.osgi.framework.BundleContext |
getBundleContext()
Gets the bundle context of the framework. |
boolean |
isRunning()
Checks if the framework is running. |
void |
setWorkingDirectory(java.io.File workingDirectory)
Sets the working directory. |
void |
start()
Start the framework. |
void |
stop()
Stop the framework. |
| Method Detail |
|---|
void configure(java.net.URL config)
throws FrameworkException
config - the URL of the configuration file to use
FrameworkException - if the configuration is not done
void start()
throws FrameworkException
FrameworkException - if the framework can't be started.org.osgi.framework.BundleContext getBundleContext()
boolean isRunning()
void stop()
throws FrameworkException
FrameworkException - if the framework can't be stopped.void setWorkingDirectory(java.io.File workingDirectory)
workingDirectory - the given directory used to store some files.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||