com.atlassian.crowd.embedded.hibernate2.batch
Class Hibernate2BatchProcessor

java.lang.Object
  extended by com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<net.sf.hibernate.Session>
      extended by com.atlassian.crowd.embedded.hibernate2.batch.Hibernate2BatchProcessor
All Implemented Interfaces:
com.atlassian.crowd.util.persistence.hibernate.batch.BatchProcessor<net.sf.hibernate.Session>

public class Hibernate2BatchProcessor
extends com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<net.sf.hibernate.Session>

Hibernate 2 Implementation of the BatchProcessor


Constructor Summary
Hibernate2BatchProcessor(Hibernate2SessionFactory sessionFactory)
           
 
Method Summary
protected  void afterProcessBatch()
           
protected  void afterProcessCollection()
           
protected  void afterProcessIndividual()
           
protected  void beforeProcessBatch()
           
protected  void beforeProcessCollection()
           
protected  void beforeProcessIndividual()
           
 net.sf.hibernate.Session getSession()
           
protected  void rollbackProcessBatch()
           
protected  void rollbackProcessIndividual()
           
 
Methods inherited from class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor
execute, setBatchSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hibernate2BatchProcessor

public Hibernate2BatchProcessor(Hibernate2SessionFactory sessionFactory)
Method Detail

beforeProcessCollection

protected void beforeProcessCollection()
Specified by:
beforeProcessCollection in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<net.sf.hibernate.Session>

afterProcessCollection

protected void afterProcessCollection()
Specified by:
afterProcessCollection in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<net.sf.hibernate.Session>

beforeProcessBatch

protected void beforeProcessBatch()
Specified by:
beforeProcessBatch in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<net.sf.hibernate.Session>

afterProcessBatch

protected void afterProcessBatch()
Specified by:
afterProcessBatch in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<net.sf.hibernate.Session>

rollbackProcessBatch

protected void rollbackProcessBatch()
Specified by:
rollbackProcessBatch in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<net.sf.hibernate.Session>

beforeProcessIndividual

protected void beforeProcessIndividual()
Specified by:
beforeProcessIndividual in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<net.sf.hibernate.Session>

afterProcessIndividual

protected void afterProcessIndividual()
Specified by:
afterProcessIndividual in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<net.sf.hibernate.Session>

rollbackProcessIndividual

protected void rollbackProcessIndividual()
Specified by:
rollbackProcessIndividual in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<net.sf.hibernate.Session>

getSession

public net.sf.hibernate.Session getSession()
Specified by:
getSession in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<net.sf.hibernate.Session>


Copyright © 2003-2014 Atlassian. All Rights Reserved.