Class MapGetExecutor


  • public class MapGetExecutor
    extends AbstractExecutor
    GetExecutor that is smart about Maps. If it detects one, it does not use Reflection but a cast to access the getter.
    Since:
    1.5
    Version:
    $Id: MapGetExecutor.java 799457 2009-07-30 22:10:27Z nbubna $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String property  
    • Constructor Summary

      Constructors 
      Constructor Description
      MapGetExecutor​(Log log, java.lang.Class clazz, java.lang.String property)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void discover​(java.lang.Class clazz)  
      java.lang.Object execute​(java.lang.Object o)
      Execute method against context.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • property

        private final java.lang.String property
    • Constructor Detail

      • MapGetExecutor

        public MapGetExecutor​(Log log,
                              java.lang.Class clazz,
                              java.lang.String property)
    • Method Detail

      • discover

        protected void discover​(java.lang.Class clazz)
      • execute

        public java.lang.Object execute​(java.lang.Object o)
        Description copied from class: AbstractExecutor
        Execute method against context.
        Specified by:
        execute in class AbstractExecutor
        Returns:
        The resulting object.