クラス TransactionAspectSupport.TransactionInfo
java.lang.ObjectSE
org.springframework.transaction.interceptor.TransactionAspectSupport.TransactionInfo
- 含まれているクラス:
TransactionAspectSupport
トランザクション情報を保持するために使用される不透明なオブジェクト。サブクラスは、このクラスのメソッドにそれを渡す必要がありますが、その内部は表示されません。
- 導入:
- 1.1
- 作成者:
- Rod Johnson, Juergen Hoeller, St é phane Nicoll, Sam Brannen, Mark Paluch, Sebastien Deleuze, Enric Sala
コンストラクター概要
コンストラクターコンストラクター説明TransactionInfo(@Nullable PlatformTransactionManager transactionManager, @Nullable TransactionAttribute transactionAttribute, StringSE joinpointIdentification) 方法の概要
修飾子と型メソッド説明ロギングで使用するために、このジョインポイントの文字列表現(通常はメソッド呼び出し)を返します。booleanトランザクションがこのアスペクトによって作成されたかどうか、ThreadLocal スタックの整合性を維持するためのプレースホルダーだけがあるかどうかを返します。voidtoString()
コンストラクターの詳細
TransactionInfo
public TransactionInfo(@Nullable PlatformTransactionManager transactionManager, @Nullable TransactionAttribute transactionAttribute, StringSE joinpointIdentification)
方法の詳細
getTransactionManager
getTransactionAttribute
getJoinpointIdentification
ロギングで使用するために、このジョインポイントの文字列表現(通常はメソッド呼び出し)を返します。newTransactionStatus
getTransactionStatus
hasTransaction
public boolean hasTransaction()トランザクションがこのアスペクトによって作成されたかどうか、ThreadLocal スタックの整合性を維持するためのプレースホルダーだけがあるかどうかを返します。toString