org.codehaus.groovy.grails.orm.hibernate.support
Class AggregatePersistenceContextInterceptor
java.lang.Object
org.codehaus.groovy.grails.orm.hibernate.support.AggregatePersistenceContextInterceptor
- All Implemented Interfaces:
- org.codehaus.groovy.grails.support.PersistenceContextInterceptor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
public class AggregatePersistenceContextInterceptor
- extends java.lang.Object
- implements org.codehaus.groovy.grails.support.PersistenceContextInterceptor, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregatePersistenceContextInterceptor
public AggregatePersistenceContextInterceptor()
isOpen
public boolean isOpen()
- Specified by:
isOpen in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
reconnect
public void reconnect()
- Specified by:
reconnect in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
destroy
public void destroy()
- Specified by:
destroy in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
clear
public void clear()
- Specified by:
clear in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
disconnect
public void disconnect()
- Specified by:
disconnect in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
flush
public void flush()
- Specified by:
flush in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
init
public void init()
- Specified by:
init in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
setReadOnly
public void setReadOnly()
- Specified by:
setReadOnly in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
setReadWrite
public void setReadWrite()
- Specified by:
setReadWrite in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
setDataSourceNames
public void setDataSourceNames(java.util.List<java.lang.String> names)
- Dependency injection for the datasource names.
- Parameters:
names - the names
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext ctx)
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean