|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.RepositoryImpl.WorkspaceInfo
protected class RepositoryImpl.WorkspaceInfo
WorkspaceInfo holds the objects that are shared
among multiple per-session WorkspaceImpl instances
representing the same named workspace, i.e. the same physical
storage.
| Constructor Summary | |
|---|---|
protected |
RepositoryImpl.WorkspaceInfo(WorkspaceConfig config)
Creates a new WorkspaceInfo based on the given
config. |
| Method Summary | |
|---|---|
protected void |
doDispose()
Does the actual disposal. |
protected void |
doInitialize()
Does the actual initialization work. |
protected void |
doPostInitialize()
Initializes the search manager of this workspace info. |
void |
externalUpdate(ChangeLog external,
java.util.List events)
Handle an external update. |
WorkspaceConfig |
getConfig()
Returns the workspace configuration. |
protected FileSystem |
getFileSystem()
Returns the workspace file system. |
protected SharedItemStateManager |
getItemStateProvider()
Returns the workspace item state provider |
protected LockManager |
getLockManager()
Returns the lock manager for this workspace. |
protected java.lang.String |
getName()
Returns the workspace name. |
protected ObservationDispatcher |
getObservationDispatcher()
Returns the observation dispatcher for this workspace |
protected PersistenceManager |
getPersistenceManager()
Returns the workspace persistence manager. |
protected SearchManager |
getSearchManager()
Returns the search manager for this workspace. |
protected org.apache.jackrabbit.core.SystemSession |
getSystemSession()
Returns the system session for this workspace. |
protected boolean |
isInitialized()
Returns true if this workspace info is initialized,
otherwise returns false. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected RepositoryImpl.WorkspaceInfo(WorkspaceConfig config)
WorkspaceInfo based on the given
config.
config - workspace configuration| Method Detail |
|---|
protected java.lang.String getName()
public WorkspaceConfig getConfig()
protected final boolean isInitialized()
true if this workspace info is initialized,
otherwise returns false.
true if this workspace info is initialized.protected FileSystem getFileSystem()
protected PersistenceManager getPersistenceManager()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - if the persistence manager could not be
instantiated/initialized
protected SharedItemStateManager getItemStateProvider()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - if the workspace item state provider
could not be createdprotected ObservationDispatcher getObservationDispatcher()
protected SearchManager getSearchManager()
throws javax.jcr.RepositoryException
null
if no SearchManager
javax.jcr.RepositoryException - if the search manager could not be created
protected LockManager getLockManager()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - if the lock manager could not be created
protected org.apache.jackrabbit.core.SystemSession getSystemSession()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - if the system session could not be created
protected void doInitialize()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - if an error occurs.
protected void doPostInitialize()
throws javax.jcr.RepositoryException
initialized is already set to true.
javax.jcr.RepositoryException - if the search manager could not be createdprotected void doDispose()
public void externalUpdate(ChangeLog external,
java.util.List events)
throws javax.jcr.RepositoryException
externalUpdate in interface UpdateEventListenerexternal - external changes containing only node and property ids.events - events to deliver
javax.jcr.RepositoryException - if the update cannot be processed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||