code: public int getAutowireMode(String attValue) {
      String att = attValue;
      int autowire = AbstractBeanDefinition.AUTOWIRE_NO;
      if (AUTOWIRE_BY_NAME_VALUE.equals(att)) {
        autowire = AbstractBeanDefinition.AUTOWIRE_BY_NAME;
      } else if (AUTOWIRE_BY_TYPE_VALUE.equals(att)) {
        autowire = AbstractBeanDefinition.AUTOWIRE_BY_TYPE;
      } else if (AUTOWIRE_CONSTRUCTOR_VALUE.equals(att)) {
        autowire = AbstractBeanDefinition.AUTOWIRE_CONSTRUCTOR;
      }
      // Else leave default value.
      return autowire;
    }
docs: <p>
  getAutowireMode.
  </p>
  
  @param attValue a {@link java.lang.String} object.
  @return a int.