org.modeshape.jcr.cache

## Interface SessionEnvironment

- All Known Implementing Classes:
    JcrRepository.RepositorySessionEnvironment

      public interface SessionEnvironment

  Interface which exposes global repository subsystems/configuration to running sessions.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `SessionEnvironment.Monitor`
    `static interface` | `SessionEnvironment.MonitorFactory` A simple interface used to construct `SessionEnvironment.Monitor` instances.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `TransactionalWorkspaceCaches` | `getTransactionalWorkspaceCacheFactory()` Get the factory used to obtain the transactional workspace caches.
    `Transactions` | `getTransactions()` Get the interface for working with transactions.
    `String` | `journalId()` Returns the id of the repository's `ChangeJournal`

- - ### Method Detail

    - #### getTransactions

          Transactions getTransactions()

      Get the interface for working with transactions.
      Returns:
        the transactions object

    - #### getTransactionalWorkspaceCacheFactory

          TransactionalWorkspaceCaches getTransactionalWorkspaceCacheFactory()

      Get the factory used to obtain the transactional workspace caches.
      Returns:
        the factory; never null

    - #### journalId

          String journalId()

      Returns the id of the repository's `ChangeJournal`
      Returns:
        either a `String` or `null` if no journal is configured.

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