public final class DeploymentProviderImpl extends Object implements DeploymentProvider
Deployment
objects.Constructor and Description |
---|
DeploymentProviderImpl() |
Modifier and Type | Method and Description |
---|---|
org.jboss.osgi.deployment.deployer.Deployment |
createDeployment(StorageState storageState)
Create a
Deployment from the given bundle storage. |
org.jboss.osgi.deployment.deployer.Deployment |
createDeployment(String location,
org.jboss.osgi.vfs.VirtualFile rootFile) |
org.jboss.osgi.metadata.OSGiMetaData |
createOSGiMetaData(org.jboss.osgi.deployment.deployer.Deployment deployment)
Creates
OSGiMetaData from the deployment. |
public org.jboss.osgi.deployment.deployer.Deployment createDeployment(StorageState storageState) throws org.osgi.framework.BundleException
DeploymentProvider
Deployment
from the given bundle storage.createDeployment
in interface DeploymentProvider
storageState
- The bundle storage to be associated with the deploymentorg.osgi.framework.BundleException
- If the given root file does notpublic org.jboss.osgi.deployment.deployer.Deployment createDeployment(String location, org.jboss.osgi.vfs.VirtualFile rootFile) throws org.osgi.framework.BundleException
createDeployment
in interface DeploymentProvider
org.osgi.framework.BundleException
public org.jboss.osgi.metadata.OSGiMetaData createOSGiMetaData(org.jboss.osgi.deployment.deployer.Deployment deployment) throws org.osgi.framework.BundleException
DeploymentProvider
OSGiMetaData
from the deployment.createOSGiMetaData
in interface DeploymentProvider
org.osgi.framework.BundleException
- If OSGiMetaData could not be constructed from the deploymentCopyright © 2013 JBoss by Red Hat. All rights reserved.