/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.orm/src/main/java/org/springframework/orm/hibernate3/ |
H A D | HibernateAccessor.java | 128 private Object entityInterceptor; field in HibernateAccessor 176 this.entityInterceptor = entityInterceptorBeanName; in setEntityInterceptorBeanName() 192 public void setEntityInterceptor(Interceptor entityInterceptor) { in setEntityInterceptor() argument 193 this.entityInterceptor = entityInterceptor; in setEntityInterceptor() 207 if (this.entityInterceptor instanceof String) { in getEntityInterceptor() 211 … return (Interceptor) this.beanFactory.getBean((String) this.entityInterceptor, Interceptor.class); in getEntityInterceptor() 213 return (Interceptor) this.entityInterceptor; in getEntityInterceptor()
|
H A D | HibernateTransactionManager.java | 147 private Object entityInterceptor; field in HibernateTransactionManager 324 this.entityInterceptor = entityInterceptorBeanName; in setEntityInterceptorBeanName() 340 public void setEntityInterceptor(Interceptor entityInterceptor) { in setEntityInterceptor() argument 341 this.entityInterceptor = entityInterceptor; in setEntityInterceptor() 355 if (this.entityInterceptor instanceof Interceptor) { in getEntityInterceptor() 356 return (Interceptor) entityInterceptor; in getEntityInterceptor() 358 else if (this.entityInterceptor instanceof String) { in getEntityInterceptor() 362 String beanName = (String) this.entityInterceptor; in getEntityInterceptor() 405 if (this.entityInterceptor instanceof String && this.beanFactory == null) { in afterPropertiesSet() 489 Interceptor entityInterceptor = getEntityInterceptor(); in doBegin() local [all …]
|
H A D | SessionFactoryUtils.java | 231 SessionFactory sessionFactory, Interceptor entityInterceptor, in getSession() argument 235 return doGetSession(sessionFactory, entityInterceptor, jdbcExceptionTranslator, true); in getSession() 279 SessionFactory sessionFactory, Interceptor entityInterceptor, in doGetSession() argument 323 Session session = (entityInterceptor != null ? in doGetSession() 324 sessionFactory.openSession(entityInterceptor) : sessionFactory.openSession()); in doGetSession() 510 public static Session getNewSession(SessionFactory sessionFactory, Interceptor entityInterceptor) { in getNewSession() argument 516 if (entityInterceptor != null) { in getNewSession() 517 … return sessionFactory.openSession(sessionHolder.getAnySession().connection(), entityInterceptor); in getNewSession() 524 if (entityInterceptor != null) { in getNewSession() 525 return sessionFactory.openSession(entityInterceptor); in getNewSession()
|
H A D | LocalSessionFactoryBean.java | 213 private Interceptor entityInterceptor; field in LocalSessionFactoryBean 434 public void setEntityInterceptor(Interceptor entityInterceptor) { in setEntityInterceptor() argument 435 this.entityInterceptor = entityInterceptor; in setEntityInterceptor() 608 if (this.entityInterceptor != null) { in buildSessionFactory() 610 config.setInterceptor(this.entityInterceptor); in buildSessionFactory()
|
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.orm/src/main/java/org/springframework/orm/hibernate4/ |
H A D | LocalSessionFactoryBean.java | 79 private Interceptor entityInterceptor; field in LocalSessionFactoryBean 200 public void setEntityInterceptor(Interceptor entityInterceptor) { in setEntityInterceptor() argument 201 this.entityInterceptor = entityInterceptor; in setEntityInterceptor() 327 if (this.entityInterceptor != null) { in afterPropertiesSet() 328 sfb.setInterceptor(this.entityInterceptor); in afterPropertiesSet()
|
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.orm/src/test/java/org/springframework/orm/hibernate3/ |
H A D | HibernateInterceptorTests.java | 447 …org.hibernate.Interceptor entityInterceptor = (org.hibernate.Interceptor) interceptorControl.getMo… in testInterceptorWithEntityInterceptor() local 453 sf.openSession(entityInterceptor); in testInterceptorWithEntityInterceptor() 466 interceptor.setEntityInterceptor(entityInterceptor); in testInterceptorWithEntityInterceptor() 481 …org.hibernate.Interceptor entityInterceptor = (org.hibernate.Interceptor) interceptorControl.getMo… in testInterceptorWithEntityInterceptorBeanName() local 491 sf.openSession(entityInterceptor); in testInterceptorWithEntityInterceptorBeanName() 507 beanFactoryControl.setReturnValue(entityInterceptor, 1); in testInterceptorWithEntityInterceptorBeanName()
|
H A D | LocalSessionFactoryBeanTests.java | 384 Interceptor entityInterceptor = (Interceptor) interceptorControl.getMock(); in testLocalSessionFactoryBeanWithEntityInterceptor() local 386 sfb.setEntityInterceptor(entityInterceptor); in testLocalSessionFactoryBeanWithEntityInterceptor() 393 assertTrue("Correct exception", ex.getMessage().equals(entityInterceptor.toString())); in testLocalSessionFactoryBeanWithEntityInterceptor()
|
H A D | HibernateTransactionManagerTests.java | 915 Interceptor entityInterceptor = (Interceptor) interceptorControl.getMock(); in testTransactionCommitWithEntityInterceptor() local 926 sf.openSession(entityInterceptor); in testTransactionCommitWithEntityInterceptor() 949 tm.setEntityInterceptor(entityInterceptor); in testTransactionCommitWithEntityInterceptor() 981 Interceptor entityInterceptor = (Interceptor) interceptorControl.getMock(); in testTransactionCommitWithEntityInterceptorBeanName() local 996 sf.openSession(entityInterceptor); in testTransactionCommitWithEntityInterceptorBeanName() 1023 beanFactoryControl.setReturnValue(entityInterceptor, 1); in testTransactionCommitWithEntityInterceptorBeanName()
|
H A D | HibernateTemplateTests.java | 423 Interceptor entityInterceptor = (Interceptor) interceptorControl.getMock(); in testExecuteWithThreadBoundAndNewSessionAndEntityInterceptor() local 432 sf.openSession(con, entityInterceptor); in testExecuteWithThreadBoundAndNewSessionAndEntityInterceptor() 444 ht.setEntityInterceptor(entityInterceptor); in testExecuteWithThreadBoundAndNewSessionAndEntityInterceptor() 464 Interceptor entityInterceptor = (Interceptor) interceptorControl.getMock(); in testExecuteWithEntityInterceptor() local 466 sf.openSession(entityInterceptor); in testExecuteWithEntityInterceptor() 478 ht.setEntityInterceptor(entityInterceptor); in testExecuteWithEntityInterceptor()
|
/dports/www/grails/grails-1.3.6/src/java/org/codehaus/groovy/grails/plugins/orm/hibernate/ |
H A D | HibernatePluginSupport.groovy | 190 entityInterceptor(EmptyInterceptor) 213 entityInterceptor = entityInterceptor
|