Package org.opennms.netmgt.dao.support
Class ResourceTreeWalker
- java.lang.Object
-
- org.opennms.netmgt.dao.support.ResourceTreeWalker
-
- All Implemented Interfaces:
ResourceWalker
,org.springframework.beans.factory.InitializingBean
public class ResourceTreeWalker extends Object implements ResourceWalker
ResourceTreeWalker class.
- Version:
- $Id: $
- Author:
- DJ Gregor
-
-
Constructor Summary
Constructors Constructor Description ResourceTreeWalker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
afterPropertiesSetResourceDao
getResourceDao()
getResourceDaoResourceVisitor
getVisitor()
getVisitorvoid
setResourceDao(ResourceDao resourceDao)
setResourceDaovoid
setVisitor(ResourceVisitor visitor)
setVisitorvoid
walk()
walkvoid
walk(Collection<OnmsResource> resources)
walk
-
-
-
Method Detail
-
walk
public void walk()
walk
- Specified by:
walk
in interfaceResourceWalker
-
walk
public void walk(Collection<OnmsResource> resources)
walk
- Parameters:
resources
- aCollection
object.
-
afterPropertiesSet
public void afterPropertiesSet()
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Specified by:
afterPropertiesSet
in interfaceResourceWalker
-
getResourceDao
public ResourceDao getResourceDao()
getResourceDao
- Returns:
- a
ResourceDao
object.
-
setResourceDao
public void setResourceDao(ResourceDao resourceDao)
setResourceDao
- Specified by:
setResourceDao
in interfaceResourceWalker
- Parameters:
resourceDao
- aResourceDao
object.
-
getVisitor
public ResourceVisitor getVisitor()
getVisitor
- Returns:
- a
ResourceVisitor
object.
-
setVisitor
public void setVisitor(ResourceVisitor visitor)
setVisitor
- Specified by:
setVisitor
in interfaceResourceWalker
- Parameters:
visitor
- aResourceVisitor
object.
-
-