Class PMContext
- java.lang.Object
- 
- org.apache.jackrabbit.core.persistence.PMContext
 
- 
 public class PMContext extends Object APMContextis used to provide context information for aPersistenceManager.- See Also:
- PersistenceManager.init(PMContext)
 
- 
- 
Constructor SummaryConstructors Constructor Description PMContext(File homeDir, FileSystem fs, NodeId rootNodeId, NamespaceRegistry nsReg, NodeTypeRegistry ntReg, DataStore dataStore, RepositoryStatisticsImpl stats)Creates a newPMContext.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DataStoregetDataStore()Returns the data storeFileSystemgetFileSystem()Returns the virtual filesystem for this persistence managerFilegetHomeDir()Returns the physical home directory for this persistence managerNamespaceRegistrygetNamespaceRegistry()Returns the namespace registryNodeTypeRegistrygetNodeTypeRegistry()Returns the node type registryRepositoryStatisticsImplgetRepositoryStatistics()Returns the repository statistics collector.NodeIdgetRootNodeId()Returns the id of the root node
 
- 
- 
- 
Constructor Detail- 
PMContextpublic PMContext(File homeDir, FileSystem fs, NodeId rootNodeId, NamespaceRegistry nsReg, NodeTypeRegistry ntReg, DataStore dataStore, RepositoryStatisticsImpl stats) Creates a newPMContext.- Parameters:
- homeDir- the physical home directory
- fs- the virtual jackrabbit filesystem
- rootNodeId- id of the root node
- nsReg- namespace registry
- ntReg- node type registry
 
 
- 
 - 
Method Detail- 
getHomeDirpublic File getHomeDir() Returns the physical home directory for this persistence manager- Returns:
- the physical home directory for this persistence manager
 
 - 
getFileSystempublic FileSystem getFileSystem() Returns the virtual filesystem for this persistence manager- Returns:
- the virtual filesystem for this persistence manager
 
 - 
getRootNodeIdpublic NodeId getRootNodeId() Returns the id of the root node- Returns:
- the id of the root node
 
 - 
getNamespaceRegistrypublic NamespaceRegistry getNamespaceRegistry() Returns the namespace registry- Returns:
- the namespace registry
 
 - 
getNodeTypeRegistrypublic NodeTypeRegistry getNodeTypeRegistry() Returns the node type registry- Returns:
- the node type registry
 
 - 
getDataStorepublic DataStore getDataStore() Returns the data store- Returns:
- the data store
 
 - 
getRepositoryStatisticspublic RepositoryStatisticsImpl getRepositoryStatistics() Returns the repository statistics collector.- Returns:
- repository statistics
 
 
- 
 
-