org.oddjob.arooa.registry
Class DirectoryPathWalker

java.lang.Object
  extended by org.oddjob.arooa.registry.DirectoryPathWalker

public class DirectoryPathWalker
extends Object


Constructor Summary
DirectoryPathWalker(BeanDirectory directory)
           
 
Method Summary
 BeanDirectory directoryForPath(Path path)
           
 Object objectForPath(Path path)
          Get an object for the given path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryPathWalker

public DirectoryPathWalker(BeanDirectory directory)
Method Detail

directoryForPath

public BeanDirectory directoryForPath(Path path)
                               throws ArooaPropertyException
Throws:
ArooaPropertyException

objectForPath

public Object objectForPath(Path path)
                     throws ArooaPropertyException
Get an object for the given path.

Parameters:
path - The path.
Returns:
An object or null if it hasn't been registered.
Throws:
ArooaPropertyException