Enum RegisterTypeEnum
- All Implemented Interfaces:
Serializable,Comparable<RegisterTypeEnum>,java.lang.constant.Constable
Indicate that a service need to be registered to registry or not
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAuto register.(INTERNAL) Auto register by deployer.Manual register.Never register. -
Method Summary
Modifier and TypeMethodDescriptionstatic RegisterTypeEnumReturns the enum constant of this type with the specified name.static RegisterTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NEVER_REGISTER
Never register. Cannot be registered by any command(like QoS-online). -
MANUAL_REGISTER
Manual register. Can be registered by command(like QoS-online), but not register by default. -
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
Auto register. Will be registered when one service is exported.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-