org.springframework.osgi.test
Class JUnitTestActivator

java.lang.Object
  extended by org.springframework.osgi.test.JUnitTestActivator
All Implemented Interfaces:
BundleActivator

public class JUnitTestActivator
extends Object
implements BundleActivator

Test bundle activator - looks for a predefined JUnit test runner and triggers the test execution. This class is used by the testing framework to run integration tests inside the OSGi framework. Note: Programatic usage of this class is strongly discouraged as its semantics might change in the future - in fact, the only reason this class is public is because the OSGi specification requires this.

Author:
Costin Leau

Constructor Summary
JUnitTestActivator()
           
 
Method Summary
 void start(BundleContext bc)
           
 void stop(BundleContext bc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitTestActivator

public JUnitTestActivator()
Method Detail

start

public void start(BundleContext bc)
           throws Exception
Specified by:
start in interface BundleActivator
Throws:
Exception

stop

public void stop(BundleContext bc)
          throws Exception
Specified by:
stop in interface BundleActivator
Throws:
Exception


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