Enum Class JndiDataSourceType

java.lang.Object
java.lang.Enum<JndiDataSourceType>
org.springframework.data.gemfire.JndiDataSourceType
All Implemented Interfaces:
Serializable, Comparable<JndiDataSourceType>, Constable

public enum JndiDataSourceType extends Enum<JndiDataSourceType>
The JndiDataSourceType class is an enumeration of valid JNDI DataSource implementation types supported by GemFire.
  • Enum Constant Details

  • Method Details

    • values

      public static JndiDataSourceType[] 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 JndiDataSourceType 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
    • valueOfIgnoreCase

      public static JndiDataSourceType valueOfIgnoreCase(String name)
      Returns a JndiDataSourceType enumerated value based on the GemFire preferred name for the supported JNDI, DataSource implementation, ignoring case and all extra leading/trailing whitespace.
      Parameters:
      name - the GemFire named JNDI DataSource implementation.
      Returns:
      the JndiDataSourceType enumerated value matching the given GemFire name used for the supported JNDI, DataSource implementation, or null if not match was found.
      See Also:
      • values()
      • isMatch(JndiDataSourceType, String)
    • getName

      public String getName()
      Gets the GemFire name of the support JNDI DataSource implementation type.
      Returns:
      the GemFire named JNDI DataSource implementation.
    • toString

      public String toString()
      Returns a String describing this JNDI DataSource implementation based on the GemFire supported names.
      Overrides:
      toString in class Enum<JndiDataSourceType>
      Returns:
      a String description for this JNDI DataSource (implementation) type.