Class AnnotationDescriber

java.lang.Object
org.oddjob.describe.AnnotationDescriber
All Implemented Interfaces:
Describer

public class AnnotationDescriber extends Object implements Describer
A Describer that looks for a method annotated with DescribeWith that will provide a description.
Author:
rob
  • Constructor Details

    • AnnotationDescriber

      public AnnotationDescriber(ArooaSession session)
      Constructor.
      Parameters:
      session - The session that provides the descriptor used to check for the annotation.
  • Method Details

    • describe

      public Map<String,String> describe(Object bean)
      Description copied from interface: Describer
      Describe a bean.
      Specified by:
      describe in interface Describer
      Parameters:
      bean - The bean.
      Returns:
      Return a map which is a description of the properties.