public interface ClusterContext
ClusterNode
.Modifier and Type | Method and Description |
---|---|
ClusterConfig |
getClusterConfig()
Return the cluster configuration.
|
NamespaceResolver |
getNamespaceResolver()
Return a namespace resolver to map prefixes to URIs and vice-versa
|
File |
getRepositoryHome()
Return the repository home directory.
|
void |
lockEventsReady(String workspace)
Notifies the cluster context that some workspace lock events are available
and that it should start up a listener to receive them.
|
void |
updateEventsReady(String workspace)
Notifies the cluster context that some workspace update events are available
and that it should start up a listener to receive them.
|
ClusterConfig getClusterConfig()
File getRepositoryHome()
NamespaceResolver getNamespaceResolver()
void updateEventsReady(String workspace) throws RepositoryException
workspace
- workspace nameRepositoryException
- if the context is unable to provide the listenervoid lockEventsReady(String workspace) throws RepositoryException
workspace
- workspace nameRepositoryException
- if the context is unable to provide the listenerCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.