Enum Class BeanConfig.State

java.lang.Object
java.lang.Enum<BeanConfig.State>
tigase.kernel.core.BeanConfig.State
All Implemented Interfaces:
Serializable, Comparable<BeanConfig.State>, Constable
Enclosing class:
BeanConfig

public static enum BeanConfig.State extends Enum<BeanConfig.State>
State of bean.
  • Enum Constant Details

    • initialized

      public static final BeanConfig.State initialized
      Bean is initialized and ready to use.
    • instanceCreated

      public static final BeanConfig.State instanceCreated
      Instance of bean is created, but bean isn't initialized.
    • registered

      public static final BeanConfig.State registered
      Bean class is registered, but instance of bean isn't created yet.
    • inactive

      public static final BeanConfig.State inactive
      Bean class is registered, but it CANNOT be used!!! Should be treated as not registered at all.
  • Method Details

    • values

      public static BeanConfig.State[] 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 BeanConfig.State 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