public class FelixPlatform extends Object
| Constructor and Description |
|---|
FelixPlatform() |
| Modifier and Type | Method and Description |
|---|---|
org.osgi.framework.BundleContext |
getBundleContext()
Returns the bundle context of the returned platform.
|
Properties |
getConfigurationProperties()
Returns the
Properties object used for configuring the
underlying OSGi implementation before starting it. |
void |
start()
Starts the OSGi platform.
|
void |
stop()
Stops the OSGi platform.
|
String |
toString()
Returns the underlying OSGi platform name.
|
public org.osgi.framework.BundleContext getBundleContext()
OsgiPlatformpublic void start()
throws Exception
OsgiPlatformException - if starting the platform failspublic void stop()
throws Exception
OsgiPlatformException - if stopping the platform fails.public Properties getConfigurationProperties()
Properties object used for configuring the
underlying OSGi implementation before starting it.
This implementation considers existing system properties as well as platform specific ones, defined in this
class. The system properties are convenient for changing the configuration directly from the command line (useful
for CI builds) leaving the programmer to ultimately decide the actual configuration used.getConfigurationProperties in interface OsgiPlatformCopyright © 2006–2023. All rights reserved.