## org.w3c.jigsaw.servlet
Class 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

Inner classes inherited from class org.w3c.jigsaw.servlet.ServletWrapper
`ServletWrapper.TimeoutManager`

Field Summary
`protected static int` | `ATTR_SERVLET_BASE` Attribute index - The servlet content base.
`protected ServletLoader` | `loader` The ServletLoader instance for loading that servlet.

Fields inherited from class org.w3c.jigsaw.servlet.ServletWrapper
`ATTR_PARAMETERS, ATTR_SERVLET_CLASS, ATTR_SERVLET_CONTEXT, ATTR_SERVLET_TIMEOUT, ATTR_SESSION_CONTEXT, debug, inited, servlet, timeoutManager`

Fields inherited from class org.w3c.tools.resources.FramedResource
`ATTR_OID, attrListener, debugEvent, event_disabled, framesRef, structListener`

Fields inherited from class org.w3c.tools.resources.Resource
`ATTR_CONTEXT, ATTR_HELP_URL, ATTR_IDENTIFIER, ATTR_LAST_MODIFIED, ATTR_PARENT, ATTR_RESOURCE_FRAMES, ATTR_STORE_ENTRY, ATTR_URL`

Fields inherited from class org.w3c.tools.resources.AttributeHolder
`attributes, slowpickle, values`

Constructor Summary
`RemoteServletWrapper()`

Method Summary
`protected void` | `checkServlet()` Check the servlet class, ans try to initialize it.
`java.lang.String` | `getServletBase()` Get the remote servlet URL base.
`protected ServletLoader` | `getServletLoader()` Get or create a suitable ServletLoader instance to load that servlet.
`protected boolean` | `launchServlet()` Initialize the servlet.
`void` | `setValue(int idx, java.lang.Object value)`

Methods inherited from class org.w3c.jigsaw.servlet.ServletWrapper
`acceptUnload, createNewLocalServletLoader, destroyServlet, getInitParameter, getInitParameterNames, getLocalServletLoader, getServlet, getServletClass, getServletContext, getServletDirectory, getServletParameters, getServletTimeout, getSessionContext, initialize, invalidateAllSession, isInited, isWrappingAServlet, launchServlet, notifyUnload, service, setValueOfSuperClass`

Methods inherited from class org.w3c.tools.resources.FramedResource

`addAttributeChangedListener, addStructureChangedListener, collectFramesReference, delete, disableEvent, displayEvent, enableEvent, eventDisabled, fireAttributeChangeEvent, fireStructureChangedEvent, fireStructureChangedEvent, frameAdded, frameModified, frameRemoved, getClone, getFrame, getFrame, getFrameReference, getFrameReference, getFramesReference, getOid, lookup, markModified, perform, performFrames, postAttributeChangeEvent, postEvent, postStructureChangedEvent, postStructureChangedEvent, processEvent, registerFrame, registerFrameIfNone, removeAttributeChangedListener, removeStructureChangedListener, unregisterFrame`

Methods inherited from class org.w3c.tools.resources.Resource
`checkMultipleLock, collectFrames, getContext, getFrame, getFrames, getHelpURL, getHelpURL, getIdentifier, getLastModified, getParent, getResourceReference, getServer, getSpace, getSpaceEntry, getStoreEntry, getURLPath, getValue, getValue, isInitialized, isUnloaded, setContext, setContext, setValue, updateAttributes`

Methods inherited from class org.w3c.tools.resources.AttributeHolder
`definesAttribute, definesAttribute, getAttributes, getBoolean, getChar, getClone, getClone, getDouble, getFloat, getInt, getLong, getString, getValue, initialize, lookupAttribute, pickle, print, setBoolean, setChar, setDouble, setFloat, setInt, setLong, setString, setValue, unpickle, unpickle, unpickle, unpickleInstance, unpickleInstance`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### 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.

Constructor Detail

### RemoteServletWrapper

    public RemoteServletWrapper()

Method Detail

### checkServlet

    protected void checkServlet()
                         throws java.lang.ClassNotFoundException,
                                javax.servlet.ServletException

  Check the servlet class, ans try to initialize it.
  Throws:
    java.lang.ClassNotFoundException - if servlet class can't be found.
    javax.servlet.ServletException - if servlet can't be initialized.
  Overrides:
    checkServlet in class ServletWrapper

### getServletLoader

    protected ServletLoader getServletLoader()

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

### getServletBase

    public java.lang.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,
                         java.lang.Object value)

  Overrides:
    setValue in class ServletWrapper

### launchServlet

    protected boolean launchServlet()
                             throws java.lang.ClassNotFoundException,
                                    javax.servlet.ServletException

  Initialize the servlet.
  Throws:
    java.lang.ClassNotFoundException - if servlet class can't be found.
    javax.servlet.ServletException - if servlet can't be initialized.
  Overrides:
    launchServlet in class ServletWrapper