org.modeshape.jcr

## Class JcrRepository.RepositoryMonitorFactory

- java.lang.Object
- - org.modeshape.jcr.JcrRepository.RepositoryMonitorFactory

- All Implemented Interfaces:
    SessionEnvironment.MonitorFactory
  Enclosing class:
    JcrRepository

      protected static class JcrRepository.RepositoryMonitorFactory
      extends Object
      implements SessionEnvironment.MonitorFactory

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `JcrRepository.RepositoryMonitorFactory(JcrRepository.RunningState runningState)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `SessionEnvironment.Monitor` | `createMonitor()` Get an indexer that can be used to index the changes made within the supplied transaction context.
    `protected Transaction` | `currentTransaction()`

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

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

- - ### Constructor Detail

    - #### JcrRepository.RepositoryMonitorFactory

          protected JcrRepository.RepositoryMonitorFactory(JcrRepository.RunningState runningState)

  - ### Method Detail

    - #### currentTransaction

          protected Transaction currentTransaction()

    - #### createMonitor

          public SessionEnvironment.Monitor createMonitor()

      Description copied from interface: `SessionEnvironment.MonitorFactory`
      Get an indexer that can be used to index the changes made within the supplied transaction context.
      Specified by:
        `createMonitor` in interface `SessionEnvironment.MonitorFactory`
      Returns:
        the indexer; may be null if no monitoring is to be performed

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