|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.jms.core.mock.MessageMock
public class MessageMock
Message のモックです。
| フィールドの概要 | |
|---|---|
protected String |
JMSCorrelationID
JMSメッセージのヘッダに設定される correlationID |
protected byte[] |
JMSCorrelationIDAsBytes
JMSメッセージのヘッダに設定される correlationID |
protected int |
JMSDeliveryMode
JMSメッセージのヘッダに設定される デリバリモード |
protected Destination |
JMSDestination
JMSメッセージのヘッダに設定される デスティネーション |
protected long |
JMSExpiration
JMSメッセージのヘッダに設定される メッセージの寿命 |
protected String |
JMSMessageID
JMSメッセージのヘッダに設定される メッセージId |
protected int |
JMSPriority
JMSメッセージのヘッダに設定される プライオリティ |
protected boolean |
JMSRedelivered
JMSメッセージのヘッダに設定される 再送フラグ |
protected Destination |
JMSReplyTo
JMSメッセージのヘッダに設定される 返信先デスティネーション |
protected long |
JMSTimestamp
JMSメッセージのヘッダに設定される タイムスタンプ |
protected String |
JMSType
JMSメッセージのヘッダに設定される メッセージのタイプ |
protected Map<String,Object> |
properties
JMSメッセージのプロパティ |
| インタフェース javax.jms.Message から継承されたフィールド |
|---|
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
| コンストラクタの概要 | |
|---|---|
MessageMock()
インスタンスを構築します。 |
|
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected String JMSCorrelationID
correlationID
protected byte[] JMSCorrelationIDAsBytes
correlationID
protected int JMSDeliveryMode
デリバリモード
protected Destination JMSDestination
デスティネーション
protected long JMSExpiration
メッセージの寿命
protected String JMSMessageID
メッセージId
protected int JMSPriority
プライオリティ
protected boolean JMSRedelivered
再送フラグ
protected Destination JMSReplyTo
返信先デスティネーション
protected long JMSTimestamp
タイムスタンプ
protected String JMSType
メッセージのタイプ
protected Map<String,Object> properties
| コンストラクタの詳細 |
|---|
public MessageMock()
| メソッドの詳細 |
|---|
public void acknowledge()
throws JMSException
Message 内の acknowledgeJMSException
public void clearBody()
throws JMSException
Message 内の clearBodyJMSException
public void clearProperties()
throws JMSException
Message 内の clearPropertiesJMSException
public boolean getBooleanProperty(String name)
throws JMSException
Message 内の getBooleanPropertyJMSException
public byte getByteProperty(String name)
throws JMSException
Message 内の getBytePropertyJMSException
public double getDoubleProperty(String name)
throws JMSException
Message 内の getDoublePropertyJMSException
public float getFloatProperty(String name)
throws JMSException
Message 内の getFloatPropertyJMSException
public int getIntProperty(String name)
throws JMSException
Message 内の getIntPropertyJMSException
public String getJMSCorrelationID()
throws JMSException
Message 内の getJMSCorrelationIDJMSException
public byte[] getJMSCorrelationIDAsBytes()
throws JMSException
Message 内の getJMSCorrelationIDAsBytesJMSException
public int getJMSDeliveryMode()
throws JMSException
Message 内の getJMSDeliveryModeJMSException
public Destination getJMSDestination()
throws JMSException
Message 内の getJMSDestinationJMSException
public long getJMSExpiration()
throws JMSException
Message 内の getJMSExpirationJMSException
public String getJMSMessageID()
throws JMSException
Message 内の getJMSMessageIDJMSException
public int getJMSPriority()
throws JMSException
Message 内の getJMSPriorityJMSException
public boolean getJMSRedelivered()
throws JMSException
Message 内の getJMSRedeliveredJMSException
public Destination getJMSReplyTo()
throws JMSException
Message 内の getJMSReplyToJMSException
public long getJMSTimestamp()
throws JMSException
Message 内の getJMSTimestampJMSException
public String getJMSType()
throws JMSException
Message 内の getJMSTypeJMSException
public long getLongProperty(String name)
throws JMSException
Message 内の getLongPropertyJMSException
public Object getObjectProperty(String name)
throws JMSException
Message 内の getObjectPropertyJMSException
public Enumeration getPropertyNames()
throws JMSException
Message 内の getPropertyNamesJMSException
public short getShortProperty(String name)
throws JMSException
Message 内の getShortPropertyJMSException
public String getStringProperty(String name)
throws JMSException
Message 内の getStringPropertyJMSException
public boolean propertyExists(String name)
throws JMSException
Message 内の propertyExistsJMSException
public void setBooleanProperty(String name,
boolean value)
throws JMSException
Message 内の setBooleanPropertyJMSException
public void setByteProperty(String name,
byte value)
throws JMSException
Message 内の setBytePropertyJMSException
public void setDoubleProperty(String name,
double value)
throws JMSException
Message 内の setDoublePropertyJMSException
public void setFloatProperty(String name,
float value)
throws JMSException
Message 内の setFloatPropertyJMSException
public void setIntProperty(String name,
int value)
throws JMSException
Message 内の setIntPropertyJMSException
public void setJMSCorrelationID(String JMSCorrelationID)
throws JMSException
Message 内の setJMSCorrelationIDJMSException
public void setJMSCorrelationIDAsBytes(byte[] JMSCorrelationIDAsBytes)
throws JMSException
Message 内の setJMSCorrelationIDAsBytesJMSException
public void setJMSDeliveryMode(int JMSDeliveryMode)
throws JMSException
Message 内の setJMSDeliveryModeJMSException
public void setJMSDestination(Destination JMSDestination)
throws JMSException
Message 内の setJMSDestinationJMSException
public void setJMSExpiration(long JMSExpiration)
throws JMSException
Message 内の setJMSExpirationJMSException
public void setJMSMessageID(String JMSMessageID)
throws JMSException
Message 内の setJMSMessageIDJMSException
public void setJMSPriority(int JMSPriority)
throws JMSException
Message 内の setJMSPriorityJMSException
public void setJMSRedelivered(boolean JMSRedelivered)
throws JMSException
Message 内の setJMSRedeliveredJMSException
public void setJMSReplyTo(Destination JMSReplyTo)
throws JMSException
Message 内の setJMSReplyToJMSException
public void setJMSTimestamp(long JMSTimestamp)
throws JMSException
Message 内の setJMSTimestampJMSException
public void setJMSType(String JMSType)
throws JMSException
Message 内の setJMSTypeJMSException
public void setLongProperty(String name,
long value)
throws JMSException
Message 内の setLongPropertyJMSException
public void setObjectProperty(String name,
Object value)
throws JMSException
Message 内の setObjectPropertyJMSException
public void setShortProperty(String name,
short value)
throws JMSException
Message 内の setShortPropertyJMSException
public void setStringProperty(String name,
String value)
throws JMSException
Message 内の setStringPropertyJMSException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||