Interface BeanManager


  • @Role
    public interface BeanManager
    Component used to populate or parse a java bean.
    Since:
    2.0M2
    Version:
    $Id: fd09b9b3b92d6eacabb0bc093f92a4a638a688dd $
    • Method Detail

      • populate

        void populate​(Object bean,
                      Map<String,​?> values)
               throws PropertyException
        Convert provided values and inject them in the provided java bean.
        Parameters:
        bean - the java bean to populate
        values - the values to convert and inject in the java bean
        Throws:
        PropertyException - error append during the populate
      • getBeanDescriptor

        BeanDescriptor getBeanDescriptor​(Class<?> beanClass)
        Parse provided java bean and return a descriptor with all its public properties.
        Parameters:
        beanClass - the java bean class to parse.
        Returns:
        the descriptor of the bean class.