Package org.alfresco.repo.nodelocator
Class NodeLocatorServiceImpl
java.lang.Object
org.alfresco.repo.nodelocator.NodeLocatorServiceImpl
- All Implemented Interfaces:
NodeLocatorService
Implementation of the
NodeLocatorService which is responsible for locating a
NodeRef using a named lookup strategy.- Since:
- 4.0
- Author:
- Nick Smith
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLocates and returns aNodeRefusing the specifiedNodeLocator.voidregister(String locatorName, NodeLocator locator)
-
Constructor Details
-
NodeLocatorServiceImpl
public NodeLocatorServiceImpl()
-
-
Method Details
-
getNode
Locates and returns aNodeRefusing the specifiedNodeLocator.- Specified by:
getNodein interfaceNodeLocatorService- Parameters:
locatorName- the name of theNodeLocatorto use.source- the source node. Can benull.params- An arbitrary set of parameters. Can benull.- Returns:
- the node to be found or
null.
-
register
- Specified by:
registerin interfaceNodeLocatorService
-