org.seasar.jms.container.binder.impl
クラス JMSPropertiesBinder

java.lang.Object
  上位を拡張 org.seasar.jms.container.binder.impl.AbstractBinder
      上位を拡張 org.seasar.jms.container.binder.impl.JMSPropertiesBinder
すべての実装されたインタフェース:
Binder

public class JMSPropertiesBinder
extends AbstractBinder

JMSメッセージのプロパティのMapをリスナコンポーネントにバインドするクラスです。

作成者:
koichik

フィールドの概要
 
クラス org.seasar.jms.container.binder.impl.AbstractBinder から継承されたフィールド
bindingSupport, bindingType, name
 
コンストラクタの概要
JMSPropertiesBinder(String name, BindingType bindingType, Field field)
          インスタンスを構築します。
JMSPropertiesBinder(String name, BindingType bindingType, PropertyDesc property)
          インスタンスを構築します。
 
メソッドの概要
protected  boolean doBind(Object target, Message message, Object payload)
          JMSメッセージをリスナコンポーネントにバインドします。
 
クラス org.seasar.jms.container.binder.impl.AbstractBinder から継承されたメソッド
bind
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JMSPropertiesBinder

public JMSPropertiesBinder(String name,
                           BindingType bindingType,
                           PropertyDesc property)
インスタンスを構築します。

パラメータ:
name - バインドするJMSメッセージのプロパティ名
bindingType - バインディングタイプ
property - JMSメッセージをバインドする対象のプロパティ

JMSPropertiesBinder

public JMSPropertiesBinder(String name,
                           BindingType bindingType,
                           Field field)
インスタンスを構築します。

パラメータ:
name - バインドするJMSメッセージのプロパティ名
bindingType - バインディングタイプ
field - JMSメッセージをバインドする対象のフィールド
メソッドの詳細

doBind

protected boolean doBind(Object target,
                         Message message,
                         Object payload)
クラス AbstractBinder の記述:
JMSメッセージをリスナコンポーネントにバインドします。

定義:
クラス AbstractBinder 内の doBind
パラメータ:
target - リスナコンポーネント
message - JMSメッセージ
payload - JMSメッセージのペイロード
戻り値:
バインドした場合はtrue、それ以外の場合はfalse


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