    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class w3c.jigsaw.servlet.RemoteServletWrapper

    java.lang.Object
       |
       +----w3c.tools.store.AttributeHolder
               |
               +----w3c.tools.store.Resource
                       |
                       +----w3c.jigsaw.resources.HTTPResource
                               |
                               +----w3c.jigsaw.resources.FilteredResource
                                       |
                                       +----w3c.jigsaw.servlet.ServletWrapper
                                               |
                                               +----w3c.jigsaw.servlet.RemoteServletWrapper

public class RemoteServletWrapper
extends ServletWrapper

##

ATTR_SERVLET_BASE
  Attribute index - The servlet content base.
loader
  The ServletLoader instance for loading that servlet.

##

RemoteServletWrapper()

##

getServletBase()
  Get the remote servlet URL base.
getServletLoader()
  Get or create a suitable ServletLoader instance to load that servlet.
launchServlet()
  Launch the servlet we are wrapping.
setValue(int, Object)
  Catch assignements to the servlet class name attribute.

##

ATTR_SERVLET_BASE

     protected static int ATTR_SERVLET_BASE

  Attribute index - The servlet content base.

loader

     protected ServletLoader loader

  The ServletLoader instance for loading that servlet.

##

RemoteServletWrapper

     public RemoteServletWrapper()

##

getServletLoader

     protected synchronized ServletLoader getServletLoader()

  Get or create a suitable ServletLoader instance to load that servlet.

  Returns:
    A ServletLoader instance.

getServletBase

     public String getServletBase()

  Get the remote servlet URL base.

  Returns:
    The String encoded base URL for that servlet, or null if undefined.

setValue

     public void setValue(int idx,
                          Object value)

  Catch assignements to the servlet class name attribute.

  Overrides:
    setValue in class ServletWrapper

launchServlet

     protected boolean launchServlet()

  Launch the servlet we are wrapping.

  Overrides:
    launchServlet in class ServletWrapper

    All Packages  Class Hierarchy  This Package  Previous  Next  Index