Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.invocation.http » servlet » [javadoc | source]
org.jboss.invocation.http.servlet
public class: NamingFactoryServlet [javadoc | source]
java.lang.Object
   javax.servlet.GenericServlet
      javax.servlet.http.HttpServlet
         org.jboss.invocation.http.servlet.NamingFactoryServlet

All Implemented Interfaces:
    Serializable, Servlet, ServletConfig

Create a Naming interface proxy that uses HTTP to communicate with the JBoss JNDI naming service. Any request to this servlet receives a serialized object stream containing a MarshalledValue with the Naming proxy as its content. The proxy is obtained from the MBean named by the namingProxyMBean init-param.
Method from org.jboss.invocation.http.servlet.NamingFactoryServlet Summary:
destroy,   doGet,   doPost,   getServletInfo,   init,   processRequest
Methods from javax.servlet.http.HttpServlet:
service
Methods from javax.servlet.GenericServlet:
destroy,   getInitParameter,   getInitParameterNames,   getServletConfig,   getServletContext,   getServletInfo,   getServletName,   init,   init,   log,   log,   service
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.invocation.http.servlet.NamingFactoryServlet Detail:
 public  void destroy() 
    Destroys the servlet.
 protected  void doGet(HttpServletRequest request,
    HttpServletResponse response) throws IOException, ServletException 
    Handles the HTTP GET method.
 protected  void doPost(HttpServletRequest request,
    HttpServletResponse response) throws IOException, ServletException 
    Handles the HTTP POST method.
 public String getServletInfo() 
    Returns a short description of the servlet.
 public  void init(ServletConfig config) throws ServletException 
    Initializes the servlet.
 protected  void processRequest(HttpServletRequest request,
    HttpServletResponse response) throws IOException, ServletException 
    Return a Naming service proxy for any GET/POST made against this servlet