org.apache.aries.util
Class FragmentBuilder
java.lang.Object
org.apache.aries.util.FragmentBuilder
public class FragmentBuilder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FragmentBuilder
public FragmentBuilder(Bundle host)
FragmentBuilder
public FragmentBuilder(Bundle host,
String symbolicNameSuffix,
String bundleNameSuffix)
setName
public void setName(String name)
addImports
public void addImports(String... imports)
addExports
public void addExports(String... imports)
addImportsFromExports
public void addImportsFromExports(Bundle exportBundle)
addFile
public void addFile(String path,
byte[] content)
install
public Bundle install(BundleContext ctx)
throws IOException,
BundleException
- Throws:
IOException
BundleException
getFragmentSymbolicName
public String getFragmentSymbolicName()
getFragmentBundleName
public String getFragmentBundleName()
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.