KickJava   Java API By Example, From Geeks To Geeks.

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


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.Message JavaDoc;
11 import javax.jms.JMSException JavaDoc;
12 import javax.jms.Destination JavaDoc;
13 import java.util.Enumeration JavaDoc;
14 import java.io.Serializable JavaDoc;
15
16 /**
17  *
18  * @author Ovidiu Feodorov <ovidiu@jboss.org>
19  * @version $Revision: 1.1 $ $Date: 2004/04/15 22:54:19 $
20  *
21  **/

22 class MessageImpl implements Message JavaDoc, Serializable JavaDoc {
23
24     private static final Logger log = Logger.getLogger(MessageImpl.class);
25
26     static final long serialVersionUID = 29880310721131848L;
27
28     private String JavaDoc destination;
29
30     public Destination JavaDoc getJMSDestination() throws JMSException JavaDoc {
31         return Destinations.createDestination(destination);
32     }
33
34     public void setJMSDestination(Destination JavaDoc dest) throws JMSException JavaDoc {
35         destination = Destinations.stringRepresentation(dest);
36     }
37
38     public String JavaDoc getJMSMessageID() throws JMSException JavaDoc {
39         throw new NotImplementedException();
40     }
41
42     public void setJMSMessageID(String JavaDoc id) throws JMSException JavaDoc {
43         throw new NotImplementedException();
44     }
45
46     public long getJMSTimestamp() throws JMSException JavaDoc {
47         throw new NotImplementedException();
48     }
49
50     public void setJMSTimestamp(long timestamp) throws JMSException JavaDoc {
51         throw new NotImplementedException();
52     }
53
54     public byte [] getJMSCorrelationIDAsBytes() throws JMSException JavaDoc {
55         throw new NotImplementedException();
56     }
57
58     public void setJMSCorrelationIDAsBytes(byte[] correlationID) throws JMSException JavaDoc {
59         throw new NotImplementedException();
60     }
61
62     public void setJMSCorrelationID(String JavaDoc correlationID) throws JMSException JavaDoc {
63         throw new NotImplementedException();
64     }
65  
66     public String JavaDoc getJMSCorrelationID() throws JMSException JavaDoc {
67         throw new NotImplementedException();
68     }
69
70     public Destination JavaDoc getJMSReplyTo() throws JMSException JavaDoc {
71         throw new NotImplementedException();
72     }
73
74     public void setJMSReplyTo(Destination JavaDoc replyTo) throws JMSException JavaDoc {
75         throw new NotImplementedException();
76     }
77
78
79     public int getJMSDeliveryMode() throws JMSException JavaDoc {
80         throw new NotImplementedException();
81     }
82  
83     public void setJMSDeliveryMode(int deliveryMode) throws JMSException JavaDoc {
84         throw new NotImplementedException();
85     }
86
87     public boolean getJMSRedelivered() throws JMSException JavaDoc {
88         throw new NotImplementedException();
89     }
90  
91     public void setJMSRedelivered(boolean redelivered) throws JMSException JavaDoc {
92         throw new NotImplementedException();
93     }
94
95     public String JavaDoc getJMSType() throws JMSException JavaDoc {
96         throw new NotImplementedException();
97     }
98
99     public void setJMSType(String JavaDoc type) throws JMSException JavaDoc {
100         throw new NotImplementedException();
101     }
102
103     public long getJMSExpiration() throws JMSException JavaDoc {
104         throw new NotImplementedException();
105     }
106  
107     public void setJMSExpiration(long expiration) throws JMSException JavaDoc {
108         throw new NotImplementedException();
109     }
110
111     public int getJMSPriority() throws JMSException JavaDoc {
112         throw new NotImplementedException();
113     }
114
115     public void setJMSPriority(int priority) throws JMSException JavaDoc {
116         throw new NotImplementedException();
117     }
118
119     public void clearProperties() throws JMSException JavaDoc {
120         throw new NotImplementedException();
121     }
122
123     public boolean propertyExists(String JavaDoc name) throws JMSException JavaDoc {
124         throw new NotImplementedException();
125     }
126
127     public boolean getBooleanProperty(String JavaDoc name) throws JMSException JavaDoc {
128         throw new NotImplementedException();
129     }
130
131     public byte getByteProperty(String JavaDoc name) throws JMSException JavaDoc {
132         throw new NotImplementedException();
133     }
134
135     public short getShortProperty(String JavaDoc name) throws JMSException JavaDoc {
136         throw new NotImplementedException();
137     }
138  
139     public int getIntProperty(String JavaDoc name) throws JMSException JavaDoc {
140         throw new NotImplementedException();
141      }
142     
143     public long getLongProperty(String JavaDoc name) throws JMSException JavaDoc {
144         throw new NotImplementedException();
145     }
146
147     public float getFloatProperty(String JavaDoc name) throws JMSException JavaDoc {
148         throw new NotImplementedException();
149     }
150
151     public double getDoubleProperty(String JavaDoc name) throws JMSException JavaDoc {
152         throw new NotImplementedException();
153     }
154
155     public String JavaDoc getStringProperty(String JavaDoc name) throws JMSException JavaDoc {
156         throw new NotImplementedException();
157     }
158
159     public Object JavaDoc getObjectProperty(String JavaDoc name) throws JMSException JavaDoc {
160         throw new NotImplementedException();
161     }
162     
163     public Enumeration JavaDoc getPropertyNames() throws JMSException JavaDoc {
164         throw new NotImplementedException();
165     }
166
167     public void setBooleanProperty(String JavaDoc name, boolean value) throws JMSException JavaDoc {
168         throw new NotImplementedException();
169     }
170
171     public void setByteProperty(String JavaDoc name, byte value) throws JMSException JavaDoc {
172         throw new NotImplementedException();
173     }
174
175     public void setShortProperty(String JavaDoc name, short value) throws JMSException JavaDoc {
176         throw new NotImplementedException();
177     }
178
179     public void setIntProperty(String JavaDoc name, int value) throws JMSException JavaDoc {
180         throw new NotImplementedException();
181     }
182
183     public void setLongProperty(String JavaDoc name, long value) throws JMSException JavaDoc {
184         throw new NotImplementedException();
185     }
186
187     public void setFloatProperty(String JavaDoc name, float value) throws JMSException JavaDoc {
188         throw new NotImplementedException();
189     }
190
191     public void setDoubleProperty(String JavaDoc name, double value) throws JMSException JavaDoc {
192         throw new NotImplementedException();
193     }
194
195     public void setStringProperty(String JavaDoc name, String JavaDoc value) throws JMSException JavaDoc {
196         throw new NotImplementedException();
197     }
198
199     public void setObjectProperty(String JavaDoc name, Object JavaDoc value) throws JMSException JavaDoc {
200         throw new NotImplementedException();
201     }
202     
203     public void acknowledge() throws JMSException JavaDoc {
204         throw new NotImplementedException();
205     }
206
207     public void clearBody() throws JMSException JavaDoc {
208         throw new NotImplementedException();
209     }
210 }
211
Popular Tags