public class SingleConnectionFactoryLookup extends ObjectSE implements ConnectionFactoryLookup
ConnectionFactory
を単純にラップする ConnectionFactoryLookup
の実装。コンストラクターと説明 |
---|
SingleConnectionFactoryLookup(ConnectionFactory connectionFactory) SingleConnectionFactoryLookup クラスの新しいインスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
ConnectionFactory | getConnectionFactory(StringSE connectionFactoryName) 指定された名前で識別される ConnectionFactory を取得します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public SingleConnectionFactoryLookup(ConnectionFactory connectionFactory)
SingleConnectionFactoryLookup
クラスの新しいインスタンスを作成します。connectionFactory
- ラップする単一の ConnectionFactory
public ConnectionFactory getConnectionFactory(StringSE connectionFactoryName) throws ConnectionFactoryLookupFailureException
ConnectionFactoryLookup
ConnectionFactory
を取得します。ConnectionFactoryLookup
の getConnectionFactory
connectionFactoryName
- ConnectionFactory
の名前 ConnectionFactory
(非 null
)ConnectionFactoryLookupFailureException
- 検索が失敗した場合