org.jboss.deployers.vfs.spi.client
Class VFSDeploymentFactory

java.lang.Object
  extended by org.jboss.deployers.client.spi.DeploymentFactory
      extended by org.jboss.deployers.vfs.spi.client.VFSDeploymentFactory
Direct Known Subclasses:
DefaultVFSDeploymentFactory

public abstract class VFSDeploymentFactory
extends DeploymentFactory

VFSDeploymentFactory.

Version:
$Revision: 1.1 $
Author:
Adrian Brock, Ales Justin

Constructor Summary
VFSDeploymentFactory()
           
 
Method Summary
 VFSDeployment createVFSDeployment(org.jboss.virtual.VirtualFile root)
          Create a new VFS deployment
static VFSDeploymentFactory getInstance()
          Get an instance of the factory
protected abstract  VFSDeployment newVFSDeployment(org.jboss.virtual.VirtualFile root)
          Create a new VFS deployment
 
Methods inherited from class org.jboss.deployers.client.spi.DeploymentFactory
addContext, addContext, addContext, addContext, assureStructure, createClassPath, createClassPath, createClassPathEntry, createClassPathEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VFSDeploymentFactory

public VFSDeploymentFactory()
Method Detail

getInstance

public static VFSDeploymentFactory getInstance()
Get an instance of the factory

Returns:
the factory

createVFSDeployment

public VFSDeployment createVFSDeployment(org.jboss.virtual.VirtualFile root)
Create a new VFS deployment

Parameters:
root - the root virtual file
Returns:
the deployment
Throws:
IllegalArgumentException - for a null root

newVFSDeployment

protected abstract VFSDeployment newVFSDeployment(org.jboss.virtual.VirtualFile root)
Create a new VFS deployment

Parameters:
root - the root virtual file
Returns:
the deployment
Throws:
IllegalArgumentException - for a null root


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.