org.apache.commons.messagelet
Class Messagelet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by org.apache.commons.messagelet.Messagelet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public abstract class Messagelet
extends javax.servlet.GenericServlet

Messengerlet the base class for a servlet which processes JMS messages via a MessageletRequest and MessageletResponse.

Version:
$Revision: 155459 $
Author:
James Strachan
See Also:
Serialized Form

Constructor Summary
Messagelet()
           
 
Method Summary
abstract  void service(MessageletRequest request, MessageletResponse response)
           
 void service(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res)
           
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Messagelet

public Messagelet()
Method Detail

service

public abstract void service(MessageletRequest request,
                             MessageletResponse response)
                      throws IOException,
                             javax.jms.JMSException,
                             javax.servlet.ServletException
Throws:
IOException
javax.jms.JMSException
javax.servlet.ServletException

service

public void service(javax.servlet.ServletRequest req,
                    javax.servlet.ServletResponse res)
             throws javax.servlet.ServletException,
                    IOException
Specified by:
service in interface javax.servlet.Servlet
Specified by:
service in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException
IOException


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.