org.apache.jackrabbit.core
Class XAItemManager
java.lang.Object
org.apache.jackrabbit.core.ItemManager
org.apache.jackrabbit.core.XAItemManager
- All Implemented Interfaces:
- Dumpable, ItemLifeCycleListener
- public class XAItemManager
- extends ItemManager
Extended ItemManager
that works in an XA environment.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XAItemManager
protected XAItemManager(ItemStateManager itemStateProvider,
HierarchyManager hierMgr,
SessionImpl session,
NodeDefinition rootNodeDef,
NodeId rootNodeId)
- Create a new instance of this class.
- Parameters:
itemStateProvider
- the item state provider associated with
the new instancesession
- the session associated with the new instancerootNodeDef
- the definition of the root noderootNodeId
- the id of the root node
createVersionInstance
protected AbstractVersion createVersionInstance(NodeId id,
NodeState state,
NodeDefinition def,
ItemLifeCycleListener[] listeners)
throws RepositoryException
- Create a version instance.
- Overrides:
createVersionInstance
in class ItemManager
- Parameters:
id
- node idstate
- node statedef
- node definitionlisteners
- listeners
- Returns:
- version instance
- Throws:
RepositoryException
- if an error occurs
createVersionHistoryInstance
protected AbstractVersionHistory createVersionHistoryInstance(NodeId id,
NodeState state,
NodeDefinition def,
ItemLifeCycleListener[] listeners)
throws RepositoryException
- Create a version history instance.
- Overrides:
createVersionHistoryInstance
in class ItemManager
- Parameters:
id
- node idstate
- node statedef
- node definitionlisteners
- listeners
- Returns:
- version instance
- Throws:
RepositoryException
- if an error occurs
Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.