org.springframework.osgi.test.platform
Class EquinoxPlatform

java.lang.Object
  extended by org.springframework.osgi.test.platform.EquinoxPlatform
All Implemented Interfaces:
OsgiPlatform

public class EquinoxPlatform
extends Object

Equinox (3.2.x) OSGi platform.

Author:
Costin Leau

Constructor Summary
EquinoxPlatform()
           
 
Method Summary
 BundleContext getBundleContext()
          Get a hold of the bundle context of the returned platform.
 Properties getConfigurationProperties()
          Return 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()
          Start the OSGi platform.
 void stop()
          Stop the OSGi platform.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EquinoxPlatform

public EquinoxPlatform()
Method Detail

getPlatformProperties

protected Properties getPlatformProperties()
Subclasses can override this to provide special platform properties.

Returns:

getBundleContext

public BundleContext getBundleContext()
Description copied from interface: OsgiPlatform
Get a hold of the bundle context of the returned platform.

Returns:

start

public void start()
           throws Exception
Description copied from interface: OsgiPlatform
Start the OSGi platform.

Throws:
Exception

stop

public void stop()
          throws Exception
Description copied from interface: OsgiPlatform
Stop the OSGi platform.

Throws:
Exception

getConfigurationProperties

public Properties getConfigurationProperties()
Description copied from interface: OsgiPlatform
Return the Properties object used for configuring the underlying OSGi implementation before starting it.

Specified by:
getConfigurationProperties in interface OsgiPlatform
Returns:

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2007 Spring Framework. All Rights Reserved.