Package org.hibernate.search.backend.impl

Examples of org.hibernate.search.backend.impl.EventSourceTransactionContext$DelegateToSynchronizationOnBeforeTx


    }
  }

  protected <T> void processWork(T entity, Serializable id, WorkType workType, AbstractEvent event, boolean identifierRollbackEnabled) {
    Work<T> work = new Work<T>( entity, id, workType, identifierRollbackEnabled );
    final EventSourceTransactionContext transactionContext = new EventSourceTransactionContext( event.getSession() );
    searchFactoryImplementor.getWorker().performWork( work, transactionContext );
  }
View Full Code Here


  public FullTextSessionImpl(org.hibernate.Session session) {
    if ( session == null ) {
      throw new IllegalArgumentException( "Unable to create a FullTextSession from an null Session object" );
    }
    this.session = session;
    this.transactionContext = new EventSourceTransactionContext( (EventSource) session );
    this.sessionImplementor = (SessionImplementor) session;
  }
View Full Code Here

  public FullTextSessionImpl(org.hibernate.Session session) {
    super( (SessionImplementor) session, session );
    if ( session == null ) {
      throw log.getNullSessionPassedToFullTextSessionCreationException();
    }
    this.transactionContext = new EventSourceTransactionContext( (EventSource) session );
  }
View Full Code Here

    }
  }

  protected void processWork(Object entity, Serializable id, WorkType workType, AbstractEvent event) {
    Work work = new Work( entity, id, workType );
    final EventSourceTransactionContext transactionContext = new EventSourceTransactionContext( event.getSession() );
    searchFactoryImplementor.getWorker().performWork( work, transactionContext );
  }
View Full Code Here

  private final TransactionContext transactionContext;


  public FullTextSessionImpl(org.hibernate.Session session) {
    this.session = (Session) session;
    this.transactionContext = new EventSourceTransactionContext( (EventSource) session );
    this.sessionImplementor = (SessionImplementor) session;
  }
View Full Code Here

    }
  }

  protected <T> void processWork(T entity, Serializable id, WorkType workType, AbstractEvent event) {
    Work<T> work = new Work<T>( entity, id, workType );
    final EventSourceTransactionContext transactionContext = new EventSourceTransactionContext( event.getSession() );
    searchFactoryImplementor.getWorker().performWork( work, transactionContext );
  }
View Full Code Here

  private final TransactionContext transactionContext;


  public FullTextSessionImpl(org.hibernate.Session session) {
    this.session = ( Session ) session;
    this.transactionContext = new EventSourceTransactionContext( ( EventSource ) session );
    this.sessionImplementor = ( SessionImplementor ) session;
  }
View Full Code Here

    }
  }

  protected <T> void  processWork(T entity, Serializable id, WorkType workType, AbstractEvent event) {
    Work<T> work = new Work<T>( entity, id, workType );
    final EventSourceTransactionContext transactionContext = new EventSourceTransactionContext( event.getSession() );
    searchFactoryImplementor.getWorker().performWork( work, transactionContext );
  }
View Full Code Here

  private final TransactionContext transactionContext;


  public FullTextSessionImpl(org.hibernate.Session session) {
    this.session = ( Session ) session;
    this.transactionContext = new EventSourceTransactionContext( ( EventSource ) session );
    this.sessionImplementor = ( SessionImplementor ) session;
  }
View Full Code Here

    }
  }

  protected <T> void processWork(T entity, Serializable id, WorkType workType, AbstractEvent event, boolean identifierRollbackEnabled) {
    Work<T> work = new Work<T>( entity, id, workType, identifierRollbackEnabled );
    final EventSourceTransactionContext transactionContext = new EventSourceTransactionContext( event.getSession() );
    searchFactoryImplementor.getWorker().performWork( work, transactionContext );
  }
View Full Code Here

TOP

Related Classes of org.hibernate.search.backend.impl.EventSourceTransactionContext$DelegateToSynchronizationOnBeforeTx

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.