org.seasar.jms.container.impl
クラス JMSMessageEndpoint

java.lang.Object
  上位を拡張 org.seasar.jca.inbound.AbstractMessageEndpoint
      上位を拡張 org.seasar.jms.container.impl.JMSMessageEndpoint
すべての実装されたインタフェース:
MessageListener, MessageEndpoint

public class JMSMessageEndpoint
extends AbstractMessageEndpoint
implements MessageListener

JMS用のMessageEndpointの実装クラスです.

作成者:
koichik

フィールドの概要
 MessageListener actualEndpoint
          移譲先となる本来のメッセージエンドポイント
static Method LISTENER_METHOD
          MessageListener.onMessage(Message)を表すメソッドオブジェクト
 
クラス org.seasar.jca.inbound.AbstractMessageEndpoint から継承されたフィールド
beforeDeliveryCalled, classLoader, messageEndpointFactory, processing, succeeded, transaction, transactionManager, xaResource
 
コンストラクタの概要
JMSMessageEndpoint(MessageEndpointFactory messageEndpointFactory, TransactionManager transactionManager, XAResource xaResource, ClassLoader classLoader, MessageListener actualEndpoint)
          インスタンスを構築します.
 
メソッドの概要
protected  Object deligateActualEndpoint(Object message)
           
protected  Method getListenerMethod()
           
 void onMessage(Message message)
           
 
クラス org.seasar.jca.inbound.AbstractMessageEndpoint から継承されたメソッド
afterDelivery, assertBeforeDeliveryCalled, assertNotProcessing, assertNotReentrant, beforeDelivery, beginTransaction, cleanup, delivery, doDelivery, endTransaction, getClassLoader, isBeforeDeliveryCalled, isProcessing, isSucceeded, release, setContextClassLoader, setProcessing, setSucceeded
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

LISTENER_METHOD

public static final Method LISTENER_METHOD
MessageListener.onMessage(Message)を表すメソッドオブジェクト


actualEndpoint

public MessageListener actualEndpoint
移譲先となる本来のメッセージエンドポイント

コンストラクタの詳細

JMSMessageEndpoint

public JMSMessageEndpoint(MessageEndpointFactory messageEndpointFactory,
                          TransactionManager transactionManager,
                          XAResource xaResource,
                          ClassLoader classLoader,
                          MessageListener actualEndpoint)
インスタンスを構築します.

パラメータ:
messageEndpointFactory - メッセージエンドポイントファクトリ
transactionManager - トランザクションマネージャ
xaResource - XAリソース
classLoader - クラスローダ
actualEndpoint - 移譲先となる本来のメッセージエンドポイント
メソッドの詳細

onMessage

public void onMessage(Message message)
定義:
インタフェース MessageListener 内の onMessage

deligateActualEndpoint

protected Object deligateActualEndpoint(Object message)
定義:
クラス AbstractMessageEndpoint 内の deligateActualEndpoint

getListenerMethod

protected Method getListenerMethod()
定義:
クラス AbstractMessageEndpoint 内の getListenerMethod


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