org.apache.commons.messagelet
Interface MessageDrivenObject

All Superinterfaces:
javax.jms.MessageListener
All Known Implementing Classes:
BridgeMDO, DistributeBridgeMDO, MessageDrivenObjectSupport, MessageHttpServletDispatcher, MessageServletDispatcher, MessengerMDO

public interface MessageDrivenObject
extends javax.jms.MessageListener

MessageDrivenObject is a message driven bean which is deployed in a Servlet engine as its application server.

Version:
$Revision: 155459 $
Author:
James Strachan

Method Summary
 void destroy()
          Called when the web application (servlet context) is being destroyed, giving the bean chance to do a graceful shutdown
 void init(javax.servlet.ServletContext context)
          Called when this message listener bean is initialized by the Serlvet container.
 
Methods inherited from interface javax.jms.MessageListener
onMessage
 

Method Detail

init

void init(javax.servlet.ServletContext context)
          throws javax.servlet.ServletException
Called when this message listener bean is initialized by the Serlvet container.

Throws:
javax.servlet.ServletException

destroy

void destroy()
Called when the web application (servlet context) is being destroyed, giving the bean chance to do a graceful shutdown



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