|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectHttpServlet
org.jboss.invocation.http.servlet.NamingFactoryServlet
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.
| Constructor Summary | |
NamingFactoryServlet()
|
|
| Method Summary | |
void |
destroy()
Destroys the servlet. |
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Handles the HTTP GET method. |
protected void |
doPost(HttpServletRequest request,
HttpServletResponse response)
Handles the HTTP POST method. |
java.lang.String |
getServletInfo()
Returns a short description of the servlet. |
void |
init(ServletConfig config)
Initializes the servlet. |
protected void |
processRequest(HttpServletRequest request,
HttpServletResponse response)
Return a Naming service proxy for any GET/POST made against this servlet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NamingFactoryServlet()
| Method Detail |
public void init(ServletConfig config)
throws ServletException
ServletExceptionpublic void destroy()
public java.lang.String getServletInfo()
protected void processRequest(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
response - servlet response
ServletException
java.io.IOException
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
GET method.
request - servlet requestresponse - servlet response
ServletException
java.io.IOException
protected void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
POST method.
request - servlet requestresponse - servlet response
ServletException
java.io.IOException
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||