Enum Class InjectionType

java.lang.Object
java.lang.Enum<InjectionType>
nablarch.core.repository.di.InjectionType
All Implemented Interfaces:
Serializable, Comparable<InjectionType>, Constable

public enum InjectionType extends Enum<InjectionType>
インジェクションの種類を表す列挙型。
  • Enum Constant Details

    • BY_TYPE

      public static final InjectionType BY_TYPE
      型ベースの自動インジェクション。
    • BY_NAME

      public static final InjectionType BY_NAME
      名前ベースの自動インジェクション。
    • REF

      public static final InjectionType REF
      コンポーネント名指定のインジェクション。
    • ID

      public static final InjectionType ID
      IDベースのインジェクション
  • Method Details

    • values

      public static InjectionType[] 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 InjectionType 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