Interface NodeTypeEventListener
-
- All Known Implementing Classes:
NodeTypeRegistry
public interface NodeTypeEventListener
Interface used to receive information about incoming, external node type registry events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
externalRegistered(Collection<QNodeTypeDefinition> ntDefs)
Called when one or more node types have been externally registered.void
externalReregistered(QNodeTypeDefinition ntDef)
Called when a node type has been externally re-registered.void
externalUnregistered(Collection<Name> ntNames)
Called when one or more node types have been externally unregistered.
-
-
-
Method Detail
-
externalRegistered
void externalRegistered(Collection<QNodeTypeDefinition> ntDefs) throws RepositoryException, InvalidNodeTypeDefException
Called when one or more node types have been externally registered.- Parameters:
ntDefs
- node type definitions- Throws:
RepositoryException
- if an error occursInvalidNodeTypeDefException
- if the node type definition is invalid
-
externalReregistered
void externalReregistered(QNodeTypeDefinition ntDef) throws NoSuchNodeTypeException, InvalidNodeTypeDefException, RepositoryException
Called when a node type has been externally re-registered.- Parameters:
ntDef
- node type definition- Throws:
RepositoryException
- if an error occursNoSuchNodeTypeException
- if the node type had not yet been registeredInvalidNodeTypeDefException
- if the node type definition is invalid
-
externalUnregistered
void externalUnregistered(Collection<Name> ntNames) throws RepositoryException, NoSuchNodeTypeException
Called when one or more node types have been externally unregistered.- Parameters:
ntNames
- node type qnames- Throws:
RepositoryException
- if an error occursNoSuchNodeTypeException
- if a node type is already unregistered
-
-