KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > jms > serverless > TextMessageImpl


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.jms.serverless;
8
9 import org.jboss.logging.Logger;
10 import javax.jms.TextMessage JavaDoc;
11 import javax.jms.JMSException JavaDoc;
12 import javax.jms.Message JavaDoc;
13 import java.io.Serializable JavaDoc;
14
15 /**
16  *
17  * @author Ovidiu Feodorov <ovidiu@jboss.org>
18  * @version $Revision: 1.1 $ $Date: 2004/04/15 22:54:19 $
19  *
20  **/

21 class TextMessageImpl extends MessageImpl implements TextMessage JavaDoc, Serializable JavaDoc {
22
23     private static final Logger log = Logger.getLogger(TextMessageImpl.class);
24
25     private String JavaDoc text;
26     
27     public String JavaDoc getText() throws JMSException JavaDoc {
28         return text;
29     }
30
31     public void setText(String JavaDoc string) throws JMSException JavaDoc {
32         text = string;
33     }
34 }
35
Popular Tags