org.jboss.test.classloader.scoping.naming.web
Class LookupServlet

java.lang.Object
  extended byHttpServlet
      extended byorg.jboss.test.classloader.scoping.naming.web.LookupServlet

public class LookupServlet
extends HttpServlet

A servlet that reads the bindings under the shared-context jndi context to test the behavior of jndi lookups across class loading scopes.

See Also:
Serialized Form

Constructor Summary
LookupServlet()
           
 
Method Summary
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
           
protected  void doPost(HttpServletRequest request, HttpServletResponse response)
           
 void init(ServletConfig servletConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupServlet

public LookupServlet()
Method Detail

init

public void init(ServletConfig servletConfig)
          throws ServletException
Parameters:
servletConfig -
Throws:
javax.servlet.ServletException
ServletException

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     java.io.IOException
Throws:
ServletException
java.io.IOException

doPost

protected void doPost(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException,
                      java.io.IOException
Throws:
ServletException
java.io.IOException