org.oddjob.arooa.registry
Class BeanDirectoryCrawler
java.lang.Object
org.oddjob.arooa.registry.BeanDirectoryCrawler
public class BeanDirectoryCrawler
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanDirectoryCrawler
public BeanDirectoryCrawler(BeanDirectory directory)
registryForComponent
public BeanDirectory registryForComponent(Object component)
- Find the directory for a bean.
- Parameters:
selected
- The current path being built up in this recursive call.component
- The componet being searched for.
- Returns:
- The path relative to this registry or null if it is
is not acessable.
pathForObject
public Path pathForObject(Object component)
- Get the path to a given component that may or may not be
in this registery's hierarchy.
- Parameters:
component
- The component.
- Returns:
- The path or null if it can't be found.