org.jboss.virtual.plugins.context.jar
Class JarContextFactory

java.lang.Object
  extended by org.jboss.virtual.plugins.context.AbstractContextFactory
      extended by org.jboss.virtual.plugins.context.jar.JarContextFactory
All Implemented Interfaces:
VFSContextFactory

public class JarContextFactory
extends AbstractContextFactory

A jar context factory

Version:
$Revision: 44217 $
Author:
Scott.Stark@jboss.org, adrian@jboss.org

Constructor Summary
JarContextFactory()
           
 
Method Summary
 VFSContext getVFS(URI root)
          Obtain a vfs context for the given root uri.
 VFSContext getVFS(URL root)
          Obtain a vfs context for the given root url.
 
Methods inherited from class org.jboss.virtual.plugins.context.AbstractContextFactory
fromVFS, fromVFS, getProtocols
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarContextFactory

public JarContextFactory()
Method Detail

getVFS

public VFSContext getVFS(URL root)
                  throws IOException
Description copied from interface: VFSContextFactory
Obtain a vfs context for the given root url.

Parameters:
root - - the URL for the root of the virtual context
Returns:
the vfs context
Throws:
IOException - - thrown if the root cannot be opened/accessed

getVFS

public VFSContext getVFS(URI root)
                  throws IOException
Description copied from interface: VFSContextFactory
Obtain a vfs context for the given root uri.

Parameters:
root - - the URI for the root of the virtual context
Returns:
the vfs context
Throws:
IOException - - thrown if the root cannot be opened/accessed


Copyright © 2010 JBoss, A division of Red Hat, Inc. All Rights Reserved.