|
||||||||||
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 |
dispose()
Disposes all objects this WorkspaceInfo is holding. |
void |
externalUpdate(ChangeLog external,
List events)
Handle an external update. |
WorkspaceConfig |
getConfig()
Returns the workspace configuration. |
protected String |
getName()
Returns the workspace name. |
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 configurationMethod Detail |
---|
protected String getName()
public WorkspaceConfig getConfig()
protected boolean isInitialized()
true
if this workspace info is initialized,
otherwise returns false
.
true
if this workspace info is initialized.protected org.apache.jackrabbit.core.SystemSession getSystemSession() throws RepositoryException
RepositoryException
- if the system session could not be createdprotected void dispose()
WorkspaceInfo
is holding.
public void externalUpdate(ChangeLog external, List events) throws RepositoryException
externalUpdate
in interface UpdateEventListener
external
- external changes containing only node and property ids.events
- events to deliver
RepositoryException
- if the update cannot be processed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |