org.ops4j.pax.drone.service.intern
Class DroneServiceImpl

java.lang.Object
  extended by org.ops4j.pax.drone.service.intern.DroneServiceImpl
All Implemented Interfaces:
DroneService

public class DroneServiceImpl
extends java.lang.Object
implements DroneService

User: Toni Menzel (tonit) Date: May 29, 2008

This service is responsible to load the testclass, inject bundleContext, start tests

TODO refactor things out of execute!


Field Summary
static java.lang.String HEADER_RECIPE_HOST
           
 
Constructor Summary
DroneServiceImpl(org.osgi.framework.BundleContext ctx)
           
 
Method Summary
 java.lang.String execute(java.lang.String recipe)
          triggers whatever the drone implementation is about.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEADER_RECIPE_HOST

public static final java.lang.String HEADER_RECIPE_HOST
See Also:
Constant Field Values
Constructor Detail

DroneServiceImpl

public DroneServiceImpl(org.osgi.framework.BundleContext ctx)
Method Detail

execute

public java.lang.String execute(java.lang.String recipe)
                         throws java.lang.Exception
Description copied from interface: DroneService
triggers whatever the drone implementation is about. currenlty its about invoking the in-container integration tests. But this is just one use-case.

Specified by:
execute in interface DroneService
Throws:
java.lang.Exception


Copyright © 2008. All Rights Reserved.