Enum Class BeanSource

java.lang.Object
java.lang.Enum<BeanSource>
org.hibernate.search.engine.environment.bean.impl.BeanSource
All Implemented Interfaces:
Serializable, Comparable<BeanSource>, Constable

public enum BeanSource extends Enum<BeanSource>
  • Enum Constant Details

    • CONFIGURATION

      public static final BeanSource CONFIGURATION
      The beans defined using BeanConfigurers.
    • 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 Details

    • values

      public static BeanSource[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BeanSource valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null