|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.osgi.test.platform.KnopflerfishPlatform
public class KnopflerfishPlatform
Knopflerfish 2.0.4+ Platform.
Constructor Summary | |
---|---|
KnopflerfishPlatform()
|
Method Summary | |
---|---|
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.
This implementation considers existing system properties as well as
platform specific ones, defined in this class. |
void |
start()
Starts the OSGi platform. |
void |
stop()
Stops the OSGi platform. |
String |
toString()
Returns the underlying OSGi platform name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KnopflerfishPlatform()
Method Detail |
---|
public BundleContext getBundleContext()
OsgiPlatform
public void start() throws Exception
OsgiPlatform
Exception
- if starting the platform failspublic void stop() throws Exception
OsgiPlatform
Exception
- 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 OsgiPlatform
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |