|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.osgi.test.platform.FelixPlatform
public class FelixPlatform
Apache Felix (1.0.x) OSGi platform.
Constructor Summary | |
---|---|
FelixPlatform()
|
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. |
protected Properties |
getPlatformProperties()
Subclasses can override this to provide special platform properties. |
void |
start()
Starts the OSGi platform. |
void |
stop()
Stops the OSGi platform. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FelixPlatform()
Method Detail |
---|
protected Properties getPlatformProperties()
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()
OsgiPlatform
Properties
object used for configuring the
underlying OSGi implementation before starting it.
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 |