org.jboss.osgi.deployment.deployer
Class DeploymentFactory

java.lang.Object
  extended by org.jboss.osgi.deployment.deployer.DeploymentFactory

public class DeploymentFactory
extends Object

A deployment factory.

Since:
16-Oct-2009
Author:
thomas.diesler@jboss.com

Method Summary
static Deployment createDeployment(BundleInfo info)
          Create a deploymenmt from a BundleInfo
static Deployment createDeployment(String location, String symbolicName, Version version)
          Create a generic deploymenmt.
static Deployment createDeployment(VirtualFile rootFile, String location, String symbolicName, Version version)
          Create a deploymenmt that is based on a VirtualFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createDeployment

public static Deployment createDeployment(BundleInfo info)
Create a deploymenmt from a BundleInfo


createDeployment

public static Deployment createDeployment(VirtualFile rootFile,
                                          String location,
                                          String symbolicName,
                                          Version version)
Create a deploymenmt that is based on a VirtualFile


createDeployment

public static Deployment createDeployment(String location,
                                          String symbolicName,
                                          Version version)
Create a generic deploymenmt.



Copyright © 2011. All Rights Reserved.