org.wildfly.swarm.config.naming

## Enum Binding.BindingType

- java.lang.Object
- - java.lang.Enum<Binding.BindingType>
  - - org.wildfly.swarm.config.naming.Binding.BindingType

- All Implemented Interfaces:
    Serializable, Comparable<Binding.BindingType>
  Enclosing class:
    Binding<T extends Binding<T>>

      public static enum Binding.BindingType
      extends Enum<Binding.BindingType>

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant and Description
    `EXTERNAL_CONTEXT`
    `LOOKUP`
    `OBJECT_FACTORY`
    `SIMPLE`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAllowedValue()` Returns the allowed value for the management model.
    `String` | `toString()`
    `static Binding.BindingType` | `valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static Binding.BindingType[]` | `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, equals, getDeclaringClass, hashCode, name, ordinal, valueOf`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### SIMPLE

          public static final Binding.BindingType SIMPLE

    - #### OBJECT_FACTORY

          public static final Binding.BindingType OBJECT_FACTORY

    - #### LOOKUP

          public static final Binding.BindingType LOOKUP

    - #### EXTERNAL_CONTEXT

          public static final Binding.BindingType EXTERNAL_CONTEXT

  - ### Method Detail

    - #### values

          public static Binding.BindingType[] values()

      Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

          for (Binding.BindingType c : Binding.BindingType.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

          public static Binding.BindingType 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

    - #### getAllowedValue

          public String getAllowedValue()

      Returns the allowed value for the management model.
      Returns:
        the allowed model value

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Enum<Binding.BindingType>`

Copyright © 2017 JBoss by Red Hat. All rights reserved.