org.alfresco.repo.transfer
Class AbstractNodeFinder

java.lang.Object
  extended by org.alfresco.repo.transfer.AbstractNodeFinder
All Implemented Interfaces:
NodeFinder
Direct Known Subclasses:
ChildAssociatedNodeFinder, CompositeNodeFinder, PeerAssociatedNodeFinder, PrimaryParentNodeFinder

public abstract class AbstractNodeFinder
extends java.lang.Object
implements NodeFinder

A utility base class that simplifies the creation of new node finders. When used in conjunction with the standard node crawler (StandardNodeCrawlerImpl), node filters that extend this base class will automatically have the service registry injected into them and their init operations invoked at the appropriate time.

Since:
3.3

Field Summary
protected  ServiceRegistry serviceRegistry
           
 
Constructor Summary
AbstractNodeFinder()
           
 
Method Summary
 void init()
           
 void setServiceRegistry(ServiceRegistry serviceRegistry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.alfresco.service.cmr.transfer.NodeFinder
findFrom
 

Field Detail

serviceRegistry

protected ServiceRegistry serviceRegistry
Constructor Detail

AbstractNodeFinder

public AbstractNodeFinder()
Method Detail

init

public void init()

setServiceRegistry

public void setServiceRegistry(ServiceRegistry serviceRegistry)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.