org.seasar.jms.container.external
クラス JMSRequestImpl

java.lang.Object
  上位を拡張 java.util.AbstractMap
      上位を拡張 org.seasar.framework.container.external.AbstractExternalContextMap
          上位を拡張 org.seasar.jms.container.external.JMSRequestImpl
すべての実装されたインタフェース:
Map, JMSRequest

public class JMSRequestImpl
extends AbstractExternalContextMap
implements JMSRequest

JMSメッセージを外部コンテキストのリクエストとして扱うコンポーネントです。

作成者:
koichik

入れ子のクラスの概要
 
クラス org.seasar.framework.container.external.AbstractExternalContextMap から継承された入れ子のクラス/インタフェース
AbstractExternalContextMap.ImmutableEntry
 
インタフェース java.util.Map から継承された入れ子のクラス/インタフェース
Map.Entry<K,V>
 
フィールドの概要
protected  Map<String,Object> attributes
          リクエストの属性
protected  Message message
          JMSメッセージ
 
コンストラクタの概要
JMSRequestImpl(Message message)
          インスタンスを構築します。
 
メソッドの概要
 Object getAttribute(String key)
          指定された名前に一致する属性の値を返します。
protected  Iterator getAttributeNames()
           
 Message getMessage()
          受信したJMSメッセージを返します。
protected  void removeAttribute(String key)
           
 void setAttribute(String key, Object value)
          属性の値を指定された名前で設定します。
 
クラス org.seasar.framework.container.external.AbstractExternalContextMap から継承されたメソッド
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, values
 
クラス java.util.AbstractMap から継承されたメソッド
clone, equals, hashCode, size, toString
 
クラス java.lang.Object から継承されたメソッド
finalize, getClass, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

message

protected Message message
JMSメッセージ


attributes

protected Map<String,Object> attributes
リクエストの属性

関連項目:
ServletRequest
コンストラクタの詳細

JMSRequestImpl

public JMSRequestImpl(Message message)
インスタンスを構築します。

パラメータ:
message - JMSメッセージ
メソッドの詳細

getMessage

public Message getMessage()
インタフェース JMSRequest の記述:
受信したJMSメッセージを返します。

定義:
インタフェース JMSRequest 内の getMessage
戻り値:
受信したJMSメッセージ

getAttribute

public Object getAttribute(String key)
インタフェース JMSRequest の記述:
指定された名前に一致する属性の値を返します。

定義:
インタフェース JMSRequest 内の getAttribute
定義:
クラス AbstractExternalContextMap 内の getAttribute
パラメータ:
key - 属性の名前
戻り値:
属性の値

setAttribute

public void setAttribute(String key,
                         Object value)
インタフェース JMSRequest の記述:
属性の値を指定された名前で設定します。

定義:
インタフェース JMSRequest 内の setAttribute
定義:
クラス AbstractExternalContextMap 内の setAttribute
パラメータ:
key - 属性の名前
value - 属性の値

getAttributeNames

protected Iterator getAttributeNames()
定義:
クラス AbstractExternalContextMap 内の getAttributeNames

removeAttribute

protected void removeAttribute(String key)
定義:
クラス AbstractExternalContextMap 内の removeAttribute


Copyright © 2005-2009 The Seasar Foundation. All Rights Reserved.