|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.persistence.PMContext
public class PMContext
A PMContext
is used to provide context information for a
PersistenceManager
.
PersistenceManager.init(PMContext)
Constructor Summary | |
---|---|
PMContext(File homeDir,
FileSystem fs,
NodeId rootNodeId,
NamespaceRegistry nsReg,
NodeTypeRegistry ntReg,
DataStore dataStore)
Creates a new PMContext . |
Method Summary | |
---|---|
DataStore |
getDataStore()
Returns the data store |
FileSystem |
getFileSystem()
Returns the virtual filesystem for this persistence manager |
File |
getHomeDir()
Returns the physical home directory for this persistence manager |
NamespaceRegistry |
getNamespaceRegistry()
Returns the namespace registry |
NodeTypeRegistry |
getNodeTypeRegistry()
Returns the node type registry |
NodeId |
getRootNodeId()
Returns the id of the root node |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PMContext(File homeDir, FileSystem fs, NodeId rootNodeId, NamespaceRegistry nsReg, NodeTypeRegistry ntReg, DataStore dataStore)
PMContext
.
homeDir
- the physical home directoryfs
- the virtual jackrabbit filesystemrootNodeId
- id of the root nodensReg
- namespace registryntReg
- node type registryMethod Detail |
---|
public File getHomeDir()
public FileSystem getFileSystem()
public NodeId getRootNodeId()
public NamespaceRegistry getNamespaceRegistry()
public NodeTypeRegistry getNodeTypeRegistry()
public DataStore getDataStore()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |