ModuleConfigurationObservingManager
instead.@Deprecated public abstract class ObservedManager extends Object
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log
Deprecated.
|
protected Set<String> |
registeredUUIDs
Deprecated.
UUIDs and paths of the registered main nodes.
|
Constructor and Description |
---|
ObservedManager()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
Clears the registered UUIDs and calls onClear().
|
protected static javax.jcr.Node |
getNodeByIdentifierOrPath(javax.jcr.Session session,
String uuid,
String path)
Deprecated.
Get a node by uuid, or failing that, by its path.
|
protected abstract void |
onClear()
Deprecated.
The implementor should clear everything.
|
protected abstract void |
onRegister(Content node)
Deprecated.
Registers a node.
|
void |
register(Content node)
Deprecated.
Register a node.
|
void |
reload()
Deprecated.
Calls onClear and reregister the nodes by calling onRegister.
|
protected void |
reload(Content node)
Deprecated.
Reload a specific node.
|
public void register(Content node)
node
- the node to registerpublic void reload()
protected static javax.jcr.Node getNodeByIdentifierOrPath(javax.jcr.Session session, String uuid, String path) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
- if node cannot be located by either UUID or path.protected void reload(Content node)
public void clear()
protected abstract void onRegister(Content node)
protected abstract void onClear()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.