protected class JcrRepository.JcrRepositoryEnvironment extends Object implements RepositoryEnvironment
Modifier and Type | Method and Description |
---|---|
Transactions |
getTransactions()
Returns the repository's
Transactions instance |
String |
journalId()
Returns the id of the repository's
ChangeJournal |
LockingService |
lockingService()
Returns the locking service used by the repository to make sure writes are strongly consistent.
|
NodeTypes |
nodeTypes()
Returns the
NodeTypes instance for this repository. |
public Transactions getTransactions()
RepositoryEnvironment
Transactions
instancegetTransactions
in interface RepositoryEnvironment
Transactions
instance, never null
public String journalId()
RepositoryEnvironment
ChangeJournal
journalId
in interface RepositoryEnvironment
String
or null
if no journal is configured.public LockingService lockingService()
RepositoryEnvironment
lockingService
in interface RepositoryEnvironment
LockingService
instance, never null
public NodeTypes nodeTypes()
RepositoryEnvironment
NodeTypes
instance for this repository.nodeTypes
in interface RepositoryEnvironment
NodeTypes
instance or null
if no such information is available yet (e.g. the node types have not
been initialized yet).Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.