|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.jca.outbound.support.ConnectionManagementContext
public class ConnectionManagementContext
コネクション管理のために必要な情報を保持するクラスです.
| フィールドの概要 | |
|---|---|
protected ConnectionRequestInfo |
info
コネクション要求情報 |
protected Object |
lch
論理コネクションハンドラ |
protected ManagedConnection |
mc
マネージドコネクション |
protected ManagedConnectionFactory |
mcf
マネージドコネクションファクトリ |
protected Subject |
subject
セキュリティ認証のサブジェクト |
| コンストラクタの概要 | |
|---|---|
ConnectionManagementContext(Subject subject,
ConnectionRequestInfo info,
ManagedConnectionFactory mcf)
インスタンスを構築します. |
|
ConnectionManagementContext(Subject subject,
ConnectionRequestInfo info,
ManagedConnectionFactory mcf,
ManagedConnection mc)
インスタンスを構築します. |
|
ConnectionManagementContext(Subject subject,
ConnectionRequestInfo info,
ManagedConnectionFactory mcf,
ManagedConnection mc,
Object lch)
インスタンスを構築します. |
|
| メソッドの概要 | |
|---|---|
Object |
allocateLogicalConnectionHandle()
論理コネクションハンドラを割り当てます. |
ManagedConnection |
allocateManagedConnection()
マネージドコネクションを割り当てます. |
Object |
getLogicalConnectionHandle()
論理コネクションハンドラを返します. |
ManagedConnection |
getManagedConnection()
マネージドコネクションを返します. |
ManagedConnectionFactory |
getManagedConnectionFactory()
マネージドコネクションファクトリを返します. |
ConnectionRequestInfo |
getRequestInfo()
コネクション要求情報を返します. |
Subject |
getSubject()
サブジェクトを返します. |
ConnectionManagementContext |
setLogicalConnectionHandle(Object logicalConnectionHandle)
論理コネクションハンドラを設定します. |
ConnectionManagementContext |
setManagedConnection(ManagedConnection managedConnection)
マネージドコネクションを設定します. |
ConnectionManagementContext |
setManagedConnectionFactory(ManagedConnectionFactory managedConnectionFactory)
マネージドコネクションファクトリを設定します. |
ConnectionManagementContext |
setRequestInfo(ConnectionRequestInfo requestInfo)
コネクション要求情報を設定します. |
ConnectionManagementContext |
setSubject(Subject subject)
サブジェクトを設定します. |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected Subject subject
protected ConnectionRequestInfo info
protected ManagedConnectionFactory mcf
protected ManagedConnection mc
protected Object lch
| コンストラクタの詳細 |
|---|
public ConnectionManagementContext(Subject subject,
ConnectionRequestInfo info,
ManagedConnectionFactory mcf)
subject - サブジェクトinfo - コネクション要求情報mcf - マネージドコネクションファクトリ
public ConnectionManagementContext(Subject subject,
ConnectionRequestInfo info,
ManagedConnectionFactory mcf,
ManagedConnection mc)
subject - サブジェクトinfo - コネクション要求情報mcf - マネージドコネクションファクトリmc - マネージドコネクション
public ConnectionManagementContext(Subject subject,
ConnectionRequestInfo info,
ManagedConnectionFactory mcf,
ManagedConnection mc,
Object lch)
subject - サブジェクトinfo - コネクション要求情報mcf - マネージドコネクションファクトリmc - マネージドコネクションlch - 論理コネクションハンドラ| メソッドの詳細 |
|---|
public ManagedConnection allocateManagedConnection()
throws ResourceException
ResourceException - マネージドコネクションの割り当て中に例外が発生した場合
public Object allocateLogicalConnectionHandle()
throws ResourceException
ResourceException - 論理コネクションハンドラの割り当て中に例外が発生した場合public Subject getSubject()
public ConnectionManagementContext setSubject(Subject subject)
subject - サブジェクト
public ConnectionRequestInfo getRequestInfo()
public ConnectionManagementContext setRequestInfo(ConnectionRequestInfo requestInfo)
requestInfo - コネクション要求情報
public ManagedConnectionFactory getManagedConnectionFactory()
public ConnectionManagementContext setManagedConnectionFactory(ManagedConnectionFactory managedConnectionFactory)
managedConnectionFactory - マネージドコネクションファクトリ
public ManagedConnection getManagedConnection()
public ConnectionManagementContext setManagedConnection(ManagedConnection managedConnection)
managedConnection - マネージドコネクション
public Object getLogicalConnectionHandle()
public ConnectionManagementContext setLogicalConnectionHandle(Object logicalConnectionHandle)
logicalConnectionHandle - 論理コネクションハンドラ
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||