Class BeanDirectoryCrawler

java.lang.Object
org.oddjob.arooa.registry.BeanDirectoryCrawler

public class BeanDirectoryCrawler extends Object
  • Constructor Details

    • BeanDirectoryCrawler

      public BeanDirectoryCrawler(BeanDirectory directory)
  • Method Details

    • registryForComponent

      public BeanDirectory registryForComponent(Object component)
      Find the directory for a bean.
      Parameters:
      component - The componet being searched for.
      selected - The current path being built up in this recursive call.
      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.