public class VirtualNodeTypeStateManager extends Object implements NodeTypeRegistryListener
Constructor and Description |
---|
VirtualNodeTypeStateManager(NodeTypeRegistry ntReg,
DelegatingObservationDispatcher obs,
NodeId rootNodeId,
NodeId parentId)
Creates a new virtual node type state manager
|
Modifier and Type | Method and Description |
---|---|
VirtualItemStateProvider |
getVirtualItemStateProvider()
returns the virtual node state provider for the node type states.
|
void |
nodeTypeRegistered(Name ntName)
Called when a node type has been registered.
|
void |
nodeTypeReRegistered(Name ntName)
Called when a node type has been re-registered.
|
void |
nodeTypesUnregistered(Collection<Name> names)
Called when a set of node types has been unregistered.
|
void |
setSession(SessionImpl systemSession)
Sets the system session.
|
public VirtualNodeTypeStateManager(NodeTypeRegistry ntReg, DelegatingObservationDispatcher obs, NodeId rootNodeId, NodeId parentId)
ntReg
- obs
- rootNodeId
- parentId
- public VirtualItemStateProvider getVirtualItemStateProvider()
public void setSession(SessionImpl systemSession)
systemSession
- public void nodeTypeRegistered(Name ntName)
nodeTypeRegistered
in interface NodeTypeRegistryListener
ntName
- name of the node type that has been registeredpublic void nodeTypeReRegistered(Name ntName)
nodeTypeReRegistered
in interface NodeTypeRegistryListener
ntName
- name of the node type that has been registeredpublic void nodeTypesUnregistered(Collection<Name> names)
nodeTypesUnregistered
in interface NodeTypeRegistryListener
names
- names of the types that have been unregisteredCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.