org.ops4j.pax.drone.spi.util
Class DroneBuilderImpl

java.lang.Object
  extended by org.ops4j.pax.drone.spi.util.DroneBuilderImpl
All Implemented Interfaces:
DroneBuilder

public class DroneBuilderImpl
extends java.lang.Object
implements DroneBuilder

User: Toni Menzel (tonit) Date: May 29, 2008 Responsible for creating the on-the fly testing drone. Expected to radically change once things are working. (1st make it work, 2nd make it efficient)


Constructor Summary
DroneBuilderImpl(java.lang.Class testingClazz, ResourceLocator finder)
           
 
Method Summary
 java.io.InputStream build()
          Very first implementation that uses bnd to calculate the final stuff.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DroneBuilderImpl

public DroneBuilderImpl(java.lang.Class testingClazz,
                        ResourceLocator finder)
Parameters:
name - name of test class
finder - locator that gathers all resources that have to be inside the drone
Method Detail

build

public java.io.InputStream build()
Very first implementation that uses bnd to calculate the final stuff. TODO: use @PipedInputStream and @PipedOutputStream instead. TODO: out constant for Drone-Test header back in

Specified by:
build in interface DroneBuilder
Returns:


Copyright © 2008. All Rights Reserved.