Enum Class RegistrationState

java.lang.Object
java.lang.Enum<RegistrationState>
org.j7m.middleware.api.RegistrationState
All Implemented Interfaces:
Serializable, Comparable<RegistrationState>, Constable

public enum RegistrationState extends Enum<RegistrationState>
Registry visibility state of an exported object.
  • Enum Constant Details

    • NONE

      public static final RegistrationState NONE
      Object is not registered.
    • LOCAL

      public static final RegistrationState LOCAL
      Object is visible only inside the local runtime.
    • GLOBAL

      public static final RegistrationState GLOBAL
      Object is visible only through global registry records.
    • LOCAL_AND_GLOBAL

      public static final RegistrationState LOCAL_AND_GLOBAL
      Object is visible locally and through the registry.
  • Method Details

    • values

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