|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.jca.inbound.AbstractMessageEndpointImpl
org.seasar.jca.inbound.JMSMessageEndpointImpl
public class JMSMessageEndpointImpl
JMS用のMessageEndpoint
の実装クラスです.
フィールドの概要 | |
---|---|
protected MessageListener |
actualEndpoint
移譲先となる本来のメッセージエンドポイント |
protected static Method |
LISTENER_METHOD
MessageListener.onMessage(Message) を表すメソッドオブジェクト |
クラス org.seasar.jca.inbound.AbstractMessageEndpointImpl から継承されたフィールド |
---|
beforeDeliveryCalled, classLoader, messageEndpointFactory, processing, succeeded, transaction, transactionManager, xaResource |
コンストラクタの概要 | |
---|---|
JMSMessageEndpointImpl(MessageEndpointFactory messageEndpointFactory,
TransactionManager transactionManager,
XAResource xaResource,
ClassLoader classLoader,
MessageListener actualEndpoint)
インスタンスを構築します. |
メソッドの概要 | |
---|---|
protected void |
assertNotReentrant()
リエントラントに呼び出されていないことを確認します. |
protected void |
doOnMessage(Message message)
本来のメッセージエンドポイントに処理を委譲します. |
void |
onMessage(Message message)
|
protected ClassLoader |
setContextClassLoader(ClassLoader loader)
引数で指定されたクラスローダをスレッドのコンテキストクラスローダに設定します. |
クラス org.seasar.jca.inbound.AbstractMessageEndpointImpl から継承されたメソッド |
---|
afterDelivery, assertBeforeDeliveryCalled, assertNotProcessing, beforeDelivery, beginTransaction, cleanup, endTransaction, getClassLoader, isBeforeDeliveryCalled, isProcessing, isSucceeded, release, setProcessing, setSucceeded |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected static final Method LISTENER_METHOD
MessageListener.onMessage(Message)
を表すメソッドオブジェクト
protected MessageListener actualEndpoint
コンストラクタの詳細 |
---|
public JMSMessageEndpointImpl(MessageEndpointFactory messageEndpointFactory, TransactionManager transactionManager, XAResource xaResource, ClassLoader classLoader, MessageListener actualEndpoint)
messageEndpointFactory
- メッセージエンドポイントファクトリtransactionManager
- トランザクションマネージャxaResource
- XAリソースclassLoader
- クラスローダactualEndpoint
- 移譲先となる本来のメッセージエンドポイントメソッドの詳細 |
---|
public void onMessage(Message message)
MessageListener
内の onMessage
protected void doOnMessage(Message message)
コンストラクタで渡されたクラスローダをスレッドのコンテキストクラスローダに設定して委譲します.
message
- 受信したJMSメッセージprotected ClassLoader setContextClassLoader(ClassLoader loader)
loader
- コンテキストクラスローダに設定するクラスローダ
protected void assertNotReentrant()
IllegalStateException
- リエントラントに呼び出された場合
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |