    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigsaw.servlet.RemoteServletWrapper

    java.lang.Object
       |
       +----org.w3c.tools.resources.AttributeHolder
               |
               +----org.w3c.tools.resources.Resource
                       |
                       +----org.w3c.tools.resources.FramedResource
                               |
                               +----org.w3c.jigsaw.servlet.ServletWrapper
                                       |
                                       +----org.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()

##

checkServletClass()
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()

##

checkServletClass

     protected void checkServletClass()

  Overrides:
    checkServletClass in class ServletWrapper

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