|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectHttpServlet
org.jboss.invocation.http.servlet.InvokerServlet
This servlet accepts a post containing a MarshalledInvocation, extracts the Invocation object, and then routes the invocation via JMX to either: 1. the MBean specified via the invokerName ini parameter 2. the MBean whose object name hash is specified by the invocation.getObjectName() value. This name's hash must have been entered into the Registry. The method signature of the invoker must be Object invoke(org.jboss.invocation.Invocation).
Registry
(src) ,
Invocation
(src) ,
Serialized FormConstructor Summary | |
InvokerServlet()
|
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)
Read a MarshalledInvocation and dispatch it to the target JMX object invoke(Invocation) object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InvokerServlet()
Method Detail |
public void init(ServletConfig config) throws ServletException
ServletException
public void destroy()
protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
request
- servlet requestresponse
- 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
public java.lang.String getServletInfo()
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |