Enum Class ExtensionRegistryType

java.lang.Object
java.lang.Enum<ExtensionRegistryType>
org.jboss.as.controller.extension.ExtensionRegistryType
All Implemented Interfaces:
Serializable, Comparable<ExtensionRegistryType>, Constable

public enum ExtensionRegistryType extends Enum<ExtensionRegistryType>
Enum of places an extension registry can be added
Author:
Kabir Khan
  • Enum Constant Details

    • SERVER

      public static final ExtensionRegistryType SERVER
      The extension registry is for a standalone or managed server.
    • HOST

      public static final ExtensionRegistryType HOST
      The extension registry is for the host model part in a host controller.
    • MASTER

      public static final ExtensionRegistryType MASTER
      The extension registry is for the domain model part in a host controller running as a slave. NB it is not known during bootup of the host.xml part if we are a slave or not. But once we reach the domain part it is known.
    • SLAVE

      public static final ExtensionRegistryType SLAVE
      The extension registry is for the domain model part in a host controller running as a slave. NB it is not known during bootup of the host.xml part if we are a slave or not. But once we reach the domain part it is known.
  • Method Details

    • values

      public static ExtensionRegistryType[] 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 ExtensionRegistryType 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
    • getContextType

      public ExtensionContext.ContextType getContextType()