Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
MessengerListener |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (C) The Apache Software Foundation. All rights reserved. | |
3 | * | |
4 | * This software is published under the terms of the Apache Software License | |
5 | * version 1.1, a copy of which has been included with this distribution in | |
6 | * the LICENSE file. | |
7 | * | |
8 | * $Id: MessengerListener.java 155459 2005-02-26 13:24:44Z dirkv $ | |
9 | */ | |
10 | package org.apache.commons.messenger; | |
11 | ||
12 | import javax.jms.MessageListener; | |
13 | ||
14 | /** <p><code>MessengerListener</code> is a JMS MessageListener | |
15 | * which is associated with a Messenger instance | |
16 | * so that it can send replies or send other messages using | |
17 | * the same JMS connection to which its listening.</p> | |
18 | * | |
19 | * @author <a href="mailto:jstrachan@apache.org">James Strachan</a> | |
20 | * @version $Revision: 155459 $ | |
21 | */ | |
22 | public interface MessengerListener extends MessageListener { | |
23 | ||
24 | /** | |
25 | * Called whenever this MessageListener is added to a | |
26 | * Messenger via the addListener() method to associate | |
27 | * this MessageListener with a Messenger instance.. | |
28 | */ | |
29 | public void setMessenger(Messenger messager); | |
30 | ||
31 | } | |
32 |