org.apache.jackrabbit.core
Class XAWorkspace

java.lang.Object
  extended byorg.apache.jackrabbit.core.WorkspaceImpl
      extended byorg.apache.jackrabbit.core.XAWorkspace
All Implemented Interfaces:
EventStateCollectionFactory, JackrabbitWorkspace, Workspace

public class XAWorkspace
extends WorkspaceImpl

Workspace extension that works in an XA environment.


Field Summary
 
Fields inherited from class org.apache.jackrabbit.core.WorkspaceImpl
hierMgr, lockMgr, obsMgr, queryManager, rep, session, stateMgr, wspConfig
 
Constructor Summary
protected XAWorkspace(WorkspaceConfig wspConfig, SharedItemStateManager stateMgr, RepositoryImpl rep, SessionImpl session)
          Protected constructor.
 
Method Summary
protected  LocalItemStateManager createItemStateManager(SharedItemStateManager shared)
          Create the persistent item state manager on top of the shared item state manager. May be overridden by subclasses.
 
Methods inherited from class org.apache.jackrabbit.core.WorkspaceImpl
clone, copy, copy, createEventStateCollection, createWorkspace, createWorkspace, getAccessibleWorkspaceNames, getConfig, getHierarchyManager, getImportContentHandler, getItemStateManager, getLockManager, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, getSession, importXML, move, restore, sanityCheck
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XAWorkspace

protected XAWorkspace(WorkspaceConfig wspConfig,
                      SharedItemStateManager stateMgr,
                      RepositoryImpl rep,
                      SessionImpl session)
Protected constructor.

Parameters:
wspConfig - The workspace configuration
stateMgr - The shared item state manager
rep - The repository
session - The session
Method Detail

createItemStateManager

protected LocalItemStateManager createItemStateManager(SharedItemStateManager shared)
Create the persistent item state manager on top of the shared item state manager. May be overridden by subclasses.

Overrides:
createItemStateManager in class WorkspaceImpl
Parameters:
shared - shared item state manager
Returns:
local item state manager


Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.