@DeprecatedSE public class DelegatingConnectionFactory extends ObjectSE implements ConnectionFactoryEE, InitializingBean
ConnectionFactoryEE に委譲する CCI ConnectionFactoryEE 実装。 このクラスはサブクラス化されることを意図しており、サブクラスは、単にターゲット ConnectionFactoryEE に委譲するべきではないメソッド(getConnection() など)のみをオーバーライドします。
getConnection(), 連載形式 | コンストラクターと説明 |
|---|
DelegatingConnectionFactory() 使用すべきではありません。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | afterPropertiesSet() 使用すべきではありません。 |
ConnectionEE | getConnection() 使用すべきではありません。 |
ConnectionEE | getConnection(ConnectionSpecEE connectionSpec) 使用すべきではありません。 |
ResourceAdapterMetaDataEE | getMetaData() 使用すべきではありません。 |
RecordFactoryEE | getRecordFactory() 使用すべきではありません。 |
ReferenceSE | getReference() 使用すべきではありません。 |
ConnectionFactoryEE | getTargetConnectionFactory() 使用すべきではありません。 この ConnectionFactory が委譲するターゲット ConnectionFactory を返します。 |
protected ConnectionFactoryEE | obtainTargetConnectionFactory() 使用すべきではありません。 実際に使用するためにターゲット ConnectionFactory を取得します(決して null ではありません)。 |
void | setReference(ReferenceSE reference) 使用すべきではありません。 |
void | setTargetConnectionFactory(ConnectionFactoryEE targetConnectionFactory) 使用すべきではありません。 この ConnectionFactory が委譲するターゲット ConnectionFactory を設定します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic void setTargetConnectionFactory(@Nullable ConnectionFactoryEE targetConnectionFactory)
@Nullable public ConnectionFactoryEE getTargetConnectionFactory()
protected ConnectionFactoryEE obtainTargetConnectionFactory()
ConnectionFactory を取得します(決して null ではありません)。public void afterPropertiesSet()
InitializingBeanBeanFactoryAware、ApplicationContextAware などを満たした後、包含 BeanFactory によって呼び出されます。このメソッドにより、Bean インスタンスは、すべての Bean プロパティが設定されたときに、その全体的な構成の検証と最終的な初期化を実行できます。
InitializingBean の afterPropertiesSet public ConnectionEE getConnection() throws ResourceExceptionEE
ConnectionFactoryEE の getConnectionEE ResourceExceptionEEpublic ConnectionEE getConnection(ConnectionSpecEE connectionSpec) throws ResourceExceptionEE
ConnectionFactoryEE の getConnectionEE ResourceExceptionEEpublic RecordFactoryEE getRecordFactory() throws ResourceExceptionEE
ConnectionFactoryEE の getRecordFactoryEE ResourceExceptionEEpublic ResourceAdapterMetaDataEE getMetaData() throws ResourceExceptionEE
ConnectionFactoryEE の getMetaDataEE ResourceExceptionEEpublic ReferenceSE getReference() throws NamingExceptionSE
ReferenceableSE の getReferenceSE NamingExceptionSEpublic void setReference(ReferenceSE reference)