Enum BeanSource

    • Enum Constant Detail

      • BEAN_MANAGER

        public static final BeanSource BEAN_MANAGER
        The bean manager, e.g. CDI, Spring, ...
      • BEAN_MANAGER_ASSUME_CLASS_NAME

        public static final BeanSource BEAN_MANAGER_ASSUME_CLASS_NAME
        The bean manager, e.g. CDI, Spring, ..., but interpreting names as class names instead of bean names.
      • REFLECTION

        public static final BeanSource REFLECTION
        Reflection, i.e. the public, no-argument constructor of the bean class.
    • Method Detail

      • values

        public static BeanSource[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BeanSource c : BeanSource.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BeanSource valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null