|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.transaction.support.AbstractPlatformTransactionManager
org.springframework.jdbc.datasource.DataSourceTransactionManager
com.poscoict.glueframework.transaction.GlueDataSourceTransactionManager
com.poscoict.glueframework.transaction.GlueLazyDataSourceTransactionManager
public class GlueLazyDataSourceTransactionManager

GlueLazyTransactionManager ±¸Çöü. ³»ºÎÀûÀ¸·Î Spring Framework¿¡¼ Á¦°øÇÏ´Â DataSourceTransactionManager¸¦ »ó¼Ó¹Þ´Â´Ù. GlueLazyDataSourceTransactionManager´Â GlueLazyJdbcDao¿Í °°ÀÌ »ç¿ëµÈ´Ù.
Bean Property - dataSource : (Çʼö) - transactionDefinition : (¼±ÅÃ) ¿¹Á¦»ç¿ë ¿¹# 1
GlueLazyTransactionManagerHolder,
GlueLazyTransactionReleaseFilter,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager |
|---|
org.springframework.transaction.support.AbstractPlatformTransactionManager.SuspendedResourcesHolder |
| Field Summary |
|---|
| Fields inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager |
|---|
SYNCHRONIZATION_ALWAYS, SYNCHRONIZATION_NEVER, SYNCHRONIZATION_ON_ACTUAL_TRANSACTION |
| Constructor Summary | |
|---|---|
GlueLazyDataSourceTransactionManager()
|
|
| Method Summary | |
|---|---|
org.springframework.transaction.TransactionStatus |
changeTransaction(org.springframework.transaction.TransactionStatus ts)
ThreadLocalÀÇ Transaction Status¸¦ ±³Ã¼ÇÑ´Ù |
boolean |
commit()
Æ®·£Àè¼ÇÀ» Ä¿¹ÔÇÑ´Ù. |
boolean |
lazyCommit()
|
boolean |
lazyRollback()
|
boolean |
rollback()
Æ®·£Àè¼ÇÀ» ·Ñ¹éÇÑ´Ù. |
void |
startTransaction()
Æ®·£Àè¼ÇÀ» ½ÃÀÛÇÑ´Ù. |
| Methods inherited from class com.poscoict.glueframework.transaction.GlueDataSourceTransactionManager |
|---|
afterPropertiesSet, setTransactionDefinition |
| Methods inherited from class org.springframework.jdbc.datasource.DataSourceTransactionManager |
|---|
doBegin, doCleanupAfterCompletion, doCommit, doGetTransaction, doResume, doRollback, doSetRollbackOnly, doSuspend, getDataSource, getResourceFactory, isExistingTransaction, setDataSource |
| Methods inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager |
|---|
commit, determineTimeout, getDefaultTimeout, getTransaction, getTransactionSynchronization, invokeAfterCompletion, isFailEarlyOnGlobalRollbackOnly, isGlobalRollbackOnParticipationFailure, isNestedTransactionAllowed, isRollbackOnCommitFailure, isValidateExistingTransaction, newTransactionStatus, prepareForCommit, prepareSynchronization, prepareTransactionStatus, registerAfterCompletionWithExistingTransaction, resume, rollback, setDefaultTimeout, setFailEarlyOnGlobalRollbackOnly, setGlobalRollbackOnParticipationFailure, setNestedTransactionAllowed, setRollbackOnCommitFailure, setTransactionSynchronization, setTransactionSynchronizationName, setValidateExistingTransaction, shouldCommitOnGlobalRollbackOnly, suspend, triggerBeforeCommit, triggerBeforeCompletion, useSavepointForNestedTransaction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.transaction.PlatformTransactionManager |
|---|
commit, getTransaction, rollback |
| Constructor Detail |
|---|
public GlueLazyDataSourceTransactionManager()
| Method Detail |
|---|
public boolean lazyCommit()
throws GlueException
lazyCommit in interface GlueLazyTransactionManagerGlueException
public boolean lazyRollback()
throws GlueException
lazyRollback in interface GlueLazyTransactionManagerGlueException
public void startTransaction()
throws GlueException
GlueTransactionManagerstartTransaction ¸Þ¼Òµå¸¦ È£ÃâÇÏÁö ¾ÊÀ¸¸é Æ®·£Àè¼ÇÀÌ ÀÛµ¿ÇÏÁö ¾Ê´Â´Ù.
startTransaction in interface GlueTransactionManagerstartTransaction in class GlueDataSourceTransactionManagerGlueException - Æ®·£Àè¼Ç ½ÃÀÛ ½ÇÆÐ ½Ã
public boolean commit()
throws GlueException
GlueTransactionManagerstartThreadLocalTransaction ¸Þ¼Òµå¸¦ È£ÃâÇØ ÁÖ¾î¾ß ÇÑ´Ù.
commit in interface GlueTransactionManagercommit in class GlueDataSourceTransactionManagerGlueException - Æ®·£Àè¼Ç Ä¿¹Ô ½ÇÆÐ ½Ã
public boolean rollback()
throws GlueException
GlueTransactionManagerstartThreadLocalTransaction ¸Þ¼Òµå¸¦ È£ÃâÇØ ÁÖ¾î¾ß ÇÑ´Ù.
rollback in interface GlueTransactionManagerrollback in class GlueDataSourceTransactionManagerGlueException - Æ®·£Àè¼ÇÀ» ·Ñ¹é ½ÇÆÐ ½Ã
public org.springframework.transaction.TransactionStatus changeTransaction(org.springframework.transaction.TransactionStatus ts)
throws GlueException
GlueDataSourceTransactionManager
changeTransaction in interface GlueTransactionManagerchangeTransaction in class GlueDataSourceTransactionManagerGlueException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||