anvil.server
Class JarContainer

java.lang.Object
  |
  +--anvil.server.JarContainer
All Implemented Interfaces:
Container

public class JarContainer
extends java.lang.Object
implements Container

class JarContainer


Nested Class Summary
static class JarContainer.JarResource
           
 
Field Summary
protected  java.util.jar.JarFile _file
           
protected  Container _next
           
 
Constructor Summary
JarContainer(Container next, java.util.jar.JarFile file)
           
 
Method Summary
 Container getNextContainer()
           
 Resource getResource(Zone zone, Address address)
           
 Resource getResource(Zone zone, Address address, Context context)
           
 void setNextContainer(Container next)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_next

protected Container _next

_file

protected java.util.jar.JarFile _file
Constructor Detail

JarContainer

public JarContainer(Container next,
                    java.util.jar.JarFile file)
Method Detail

getNextContainer

public Container getNextContainer()
Specified by:
getNextContainer in interface Container

setNextContainer

public void setNextContainer(Container next)
Specified by:
setNextContainer in interface Container

getResource

public Resource getResource(Zone zone,
                            Address address,
                            Context context)
                     throws ContainerException
Specified by:
getResource in interface Container
ContainerException

getResource

public Resource getResource(Zone zone,
                            Address address)
                     throws ContainerException
Specified by:
getResource in interface Container
ContainerException