|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.query.QueryHandlerContext
Acts as an argument for the QueryHandler
to keep the interface
stable. This class provides access to the environment where the query
handler is running in.
Constructor Summary | |
QueryHandlerContext(FileSystem fs,
ItemStateManager stateMgr,
String rootUUID,
NodeTypeRegistry ntRegistry)
Creates a new context instance. |
Method Summary | |
void |
destroy()
Destroys this context and releases resources. |
FileSystem |
getFileSystem()
Returns the FileSystem instance this QueryHandler
may use to store its index. |
ItemStateManager |
getItemStateManager()
Returns the persistent ItemStateManager
of the workspace this QueryHandler is based on. |
NodeTypeRegistry |
getNodeTypeRegistry()
Returns the NodeTypeRegistry for this repository. |
PropertyTypeRegistry |
getPropertyTypeRegistry()
Returns the PropertyTypeRegistry for this repository. |
String |
getRootUUID()
Returns the UUID of the root node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QueryHandlerContext(FileSystem fs, ItemStateManager stateMgr, String rootUUID, NodeTypeRegistry ntRegistry)
fs
- a FileSystem
this QueryHandler
may
use to store its index. If no FileSystem
has been configured fs
is
null
.stateMgr
- provides persistent item states.rootUUID
- the uuid of the root node.ntRegistry
- the node type registry.Method Detail |
public ItemStateManager getItemStateManager()
ItemStateManager
of the workspace this QueryHandler
is based on.
ItemStateManager
of the current
workspace.public FileSystem getFileSystem()
FileSystem
instance this QueryHandler
may use to store its index. If no FileSystem
has been
configured this method returns null
.
FileSystem
instance for this
QueryHandler
.public String getRootUUID()
public PropertyTypeRegistry getPropertyTypeRegistry()
public NodeTypeRegistry getNodeTypeRegistry()
public void destroy()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |