org.springframework.osgi.test.platform
Interface OsgiPlatform


public interface OsgiPlatform

Lifecycle contract for the OSGi platform.

Author:
Costin Leau

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.
 void start()
          Start the OSGi platform.
 void stop()
          Stop the OSGi platform.
 

Method Detail

start

void start()
           throws Exception
Start the OSGi platform.

Throws:
Exception

stop

void stop()
          throws Exception
Stop the OSGi platform.

Throws:
Exception

getConfigurationProperties

Properties getConfigurationProperties()
Return the Properties object used for configuring the underlying OSGi implementation before starting it.

Returns:

getBundleContext

BundleContext getBundleContext()
Get a hold of the bundle context of the returned platform.

Returns:


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