Enum RegisterTypeEnum

java.lang.Object
java.lang.Enum<RegisterTypeEnum>
org.apache.dubbo.common.constants.RegisterTypeEnum
All Implemented Interfaces:
Serializable, Comparable<RegisterTypeEnum>, java.lang.constant.Constable

public enum RegisterTypeEnum extends Enum<RegisterTypeEnum>
Indicate that a service need to be registered to registry or not
  • Enum Constant Details

    • NEVER_REGISTER

      public static final RegisterTypeEnum NEVER_REGISTER
      Never register. Cannot be registered by any command(like QoS-online).
    • MANUAL_REGISTER

      public static final RegisterTypeEnum MANUAL_REGISTER
      Manual register. Can be registered by command(like QoS-online), but not register by default.
    • AUTO_REGISTER_BY_DEPLOYER

      public static final RegisterTypeEnum AUTO_REGISTER_BY_DEPLOYER
      (INTERNAL) Auto register by deployer. Will be registered after deployer started. (Delay publish when starting. Prevent service from being invoked before all services are started)
    • AUTO_REGISTER

      public static final RegisterTypeEnum AUTO_REGISTER
      Auto register. Will be registered when one service is exported.
  • Method Details

    • values

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

      public static RegisterTypeEnum 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