Package org.fcrepo.kernel.impl
Class TransactionManagerImpl
- java.lang.Object
-
- org.fcrepo.kernel.impl.TransactionManagerImpl
-
- All Implemented Interfaces:
org.fcrepo.kernel.api.TransactionManager
@Component public class TransactionManagerImpl extends Object implements org.fcrepo.kernel.api.TransactionManager
The Fedora Transaction Manager implementation- Author:
- mohideen
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanupClosedTransactions()Periodically scan for closed transactions for cleanuporg.fcrepo.kernel.api.Transactioncreate()org.fcrepo.kernel.api.Transactionget(String transactionId)protected org.fcrepo.kernel.api.ContainmentIndexgetContainmentIndex()protected org.fcrepo.kernel.api.observer.EventAccumulatorgetEventAccumulator()protected org.fcrepo.kernel.api.services.MembershipServicegetMembershipService()protected org.fcrepo.persistence.api.PersistentStorageSessionManagergetPersistentStorageSessionManager()protected org.fcrepo.kernel.api.services.ReferenceServicegetReferenceService()protected org.fcrepo.kernel.api.lock.ResourceLockManagergetResourceLockManager()protected org.springframework.transaction.support.TransactionTemplategetTransactionTemplate()voidpostConstruct()
-
-
-
Method Detail
-
postConstruct
@PostConstruct public void postConstruct()
-
cleanupClosedTransactions
@Scheduled(fixedDelayString="#{fedoraPropsConfig.sessionTimeout}") public void cleanupClosedTransactions()Periodically scan for closed transactions for cleanup
-
create
public org.fcrepo.kernel.api.Transaction create()
- Specified by:
createin interfaceorg.fcrepo.kernel.api.TransactionManager
-
get
public org.fcrepo.kernel.api.Transaction get(String transactionId)
- Specified by:
getin interfaceorg.fcrepo.kernel.api.TransactionManager
-
getPersistentStorageSessionManager
protected org.fcrepo.persistence.api.PersistentStorageSessionManager getPersistentStorageSessionManager()
-
getContainmentIndex
protected org.fcrepo.kernel.api.ContainmentIndex getContainmentIndex()
-
getEventAccumulator
protected org.fcrepo.kernel.api.observer.EventAccumulator getEventAccumulator()
-
getReferenceService
protected org.fcrepo.kernel.api.services.ReferenceService getReferenceService()
-
getMembershipService
protected org.fcrepo.kernel.api.services.MembershipService getMembershipService()
-
getTransactionTemplate
protected org.springframework.transaction.support.TransactionTemplate getTransactionTemplate()
-
getResourceLockManager
protected org.fcrepo.kernel.api.lock.ResourceLockManager getResourceLockManager()
-
-