com.j_spaces.jms
Class GSTextMessageImpl

java.lang.Object
  extended by com.j_spaces.core.client.MetaDataEntry
      extended by com.j_spaces.jms.GSMessageImpl
          extended by com.j_spaces.jms.GSTextMessageImpl
All Implemented Interfaces:
IMetaDataEntry, Externalizable, Serializable, Message, TextMessage, Entry

public class GSTextMessageImpl
extends GSMessageImpl
implements TextMessage

Implements the javax.jms.TextMessage interface.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.j_spaces.jms.GSMessageImpl
Body, BODY_STR_NAME, BYTES, DestinationName, JMS_CORRELATION_ID, JMS_DELIVERY_MODE, JMS_DESTINATION, JMS_EXPIRATION, JMS_GSCONNECTION_KEY_NAME, JMS_GSCONVERTER, JMS_GSPRODUCER_KEY_PROP_NAME, JMS_GSTTL_KEY_PROP_NAME, JMS_MESSAGE_ID, JMS_PRIORITY, JMS_REDELIVERED, JMS_REPLY_TO, JMS_TIMESTAMP, JMS_TYPE, JMSCorrelationID, JMSDeliveryMode, JMSDestination, JMSExpiration, JMSMessageID, JMSPriority, JMSRedelivered, JMSReplyTo, JMSTimestamp, JMSType, JMSX_GROUPID, JMSX_GROUPSEQ, JMSX_USERID, MAP, OBJECT, Properties, PROPERTIES_STR_NAME, SIMPLE, STREAM, TEXT
 
Fields inherited from interface javax.jms.Message
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
Constructor Summary
GSTextMessageImpl()
          Instantiates a new TextMessage instance.
GSTextMessageImpl(GSSessionImpl session)
          Instantiates a new TextMessage instance.
GSTextMessageImpl(GSSessionImpl session, String string)
          Instantiates a new TextMessage instance.
 
Method Summary
 String getText()
           
 void setText(String string)
           
 
Methods inherited from class com.j_spaces.jms.GSMessageImpl
__getSpaceIndexedFields, acknowledge, clearBody, clearProperties, equals, getBooleanProperty, getByteProperty, getDestinationName, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, hashcode, propertyExists, readExternal, setBooleanProperty, setByteProperty, setDestinationName, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setProperties, setRoutingIndexes, setShortProperty, setStringProperty, toString, writeExternal
 
Methods inherited from class com.j_spaces.core.client.MetaDataEntry
__getEntryInfo, __setEntryInfo, isFifo, isNOWriteLeaseMode, isTransient, makePersistent, makeTransient, setFifo, setNOWriteLeaseMode
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.Message
acknowledge, clearBody, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
 

Constructor Detail

GSTextMessageImpl

public GSTextMessageImpl()
                  throws JMSException
Instantiates a new TextMessage instance.

Throws:
JMSException - if falied to create the message

GSTextMessageImpl

public GSTextMessageImpl(GSSessionImpl session,
                         String string)
                  throws JMSException
Instantiates a new TextMessage instance.

Parameters:
session - the session of the message
text - the String content of the message
Throws:
JMSException - if falied to create the message

GSTextMessageImpl

public GSTextMessageImpl(GSSessionImpl session)
                  throws JMSException
Instantiates a new TextMessage instance.

Parameters:
session - the session of the message
Throws:
JMSException - if falied to create the message
Method Detail

setText

public void setText(String string)
             throws JMSException
Specified by:
setText in interface TextMessage
Throws:
JMSException
See Also:
TextMessage.setText(java.lang.String)

getText

public String getText()
               throws JMSException
Specified by:
getText in interface TextMessage
Throws:
JMSException
See Also:
TextMessage.getText()