org.granite.tide.spring
Class SpringPersistenceAdapterFactory
java.lang.Object
org.granite.tide.spring.SpringPersistenceAdapterFactory
- All Implemented Interfaces:
- TidePersistenceAdapterFactory
public class SpringPersistenceAdapterFactory
- extends Object
- implements TidePersistenceAdapterFactory
Implementation of TidePersistenceAdapterFactory for Spring
Detects the platform transaction manager and creates Hibernate or JPA persistence adapters accordingly
- Author:
- William Drai
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringPersistenceAdapterFactory
public SpringPersistenceAdapterFactory(PlatformTransactionManager transactionManager)
newPersistenceAdapter
public TidePersistenceAdapter newPersistenceAdapter()
- Specified by:
newPersistenceAdapter in interface TidePersistenceAdapterFactory