org.ops4j.pax.url.dir.internal.bundle
Class BundleBuilder
java.lang.Object
org.ops4j.pax.url.dir.internal.bundle.BundleBuilder
public class BundleBuilder
- extends Object
Responsible for creating the on-the fly bundle.
- Since:
- May 29, 2008
- Author:
- Toni Menzel (toni@okidokiteam.com), Alin Dreghiciu (adreghiciu@gmail.com)
Method Summary |
InputStream |
build()
Builds an osgi bundle out of settings given while creating this instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleBuilder
public BundleBuilder(Properties ref,
ResourceLocator resourceLocator)
- Constructor.
- Parameters:
ref
- name of test classresourceLocator
- locator that gathers all resources that have to be inside the test probe
build
public InputStream build()
- Builds an osgi bundle out of settings given while creating this instance.
Output is being asynchronously in a new thread when reading from the InputStream returned by this method.
- Returns:
- an inputstream that must be flushed in order to actually invoke the bundle build process.
Copyright © 2006-2013 OPS4J - Open Participation Software for Java. All Rights Reserved.