public interface LPKGDeployer
Modifier and Type | Method and Description |
---|---|
java.util.List<org.osgi.framework.Bundle> |
deploy(org.osgi.framework.BundleContext bundleContext,
java.io.File lpkgFile)
Deploys the LPKG file.
|
java.util.Map<org.osgi.framework.Bundle,java.util.List<org.osgi.framework.Bundle>> |
getDeployedLPKGBundles()
Returns the deployed LPKG bundles together with their app bundles.
|
java.io.InputStream |
toBundle(java.io.File lpkgFile) |
java.util.List<org.osgi.framework.Bundle> deploy(org.osgi.framework.BundleContext bundleContext, java.io.File lpkgFile) throws java.io.IOException
bundleContext
- the context used to install the bundle into the
OSGi containerlpkgFile
- the LPKG file to deployjava.io.IOException
- if an IO failure during installation occurredjava.util.Map<org.osgi.framework.Bundle,java.util.List<org.osgi.framework.Bundle>> getDeployedLPKGBundles()
java.io.InputStream toBundle(java.io.File lpkgFile) throws java.io.IOException
java.io.IOException