public interface DeploymentProvider
Deployment objects.| Modifier and Type | Method and Description |
|---|---|
Deployment |
createDeployment(StorageState storageState)
Create a
Deployment from the given bundle storage. |
Deployment |
createDeployment(String location,
VirtualFile rootFile) |
OSGiMetaData |
createOSGiMetaData(Deployment deployment)
Creates
OSGiMetaData from the deployment. |
Deployment createDeployment(StorageState storageState) throws org.osgi.framework.BundleException
Deployment from the given bundle storage.storageState - The bundle storage to be associated with the deploymentorg.osgi.framework.BundleException - If the given root file does notOSGiMetaData createOSGiMetaData(Deployment deployment) throws org.osgi.framework.BundleException
OSGiMetaData from the deployment.org.osgi.framework.BundleException - If OSGiMetaData could not be constructed from the deploymentDeployment createDeployment(String location, VirtualFile rootFile) throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.