org.modeshape.jcr.query

## Class CompositeIndexWriter.Context

- java.lang.Object
- - org.modeshape.jcr.query.CompositeIndexWriter.Context

- All Implemented Interfaces:
    IndexWriter.IndexingContext
  Enclosing class:
    CompositeIndexWriter

      protected static final class CompositeIndexWriter.Context
      extends Object
      implements IndexWriter.IndexingContext

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `CompositeIndexWriter.Context(Transaction txn)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Transaction` | `getTransaction()` Get the transaction associated with this indexing context.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CompositeIndexWriter.Context

          protected CompositeIndexWriter.Context(Transaction txn)

  - ### Method Detail

    - #### getTransaction

          public Transaction getTransaction()

      Description copied from interface: `IndexWriter.IndexingContext`
      Get the transaction associated with this indexing context.
      Specified by:
        `getTransaction` in interface `IndexWriter.IndexingContext`
      Returns:
        the transaction

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.