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.

Author:
Costin Leau

Constructor Summary
JUnitTestActivator()
           
 
Method Summary
 void executeTest()
          Start executing an instance of OSGiJUnitTest on the TestRunnerService.
 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

executeTest

public void executeTest()
Start executing an instance of OSGiJUnitTest on the TestRunnerService.


stop

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


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