Package org.apache.commons.configuration2.builder

# Interface JndiBuilderProperties<T>

Type Parameters:
  `T` - the type of the result of all set methods for method chaining

All Known Subinterfaces:
  `JndiBuilderParameters`

All Known Implementing Classes:
  `JndiBuilderParametersImpl`

public interface JndiBuilderProperties<T>

Definition of a properties interface for parameters of a JNDI configuration.

This interface defines properties related to the JNDI tree to be represented by a `JNDIConfiguration`.

Important note: This interface is not intended to be implemented by client code! It defines a set of available properties and may be extended even in minor releases.

Since:
  2.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `setContext(Context ctx)`
  Sets the JNDI context to be used by the JNDI configuration.
  `T`
  `setPrefix(String p)`
  Sets the prefix in the JNDI tree.

- ## Method Details

  - ### setContext

    T setContext(Context ctx)
    Sets the JNDI context to be used by the JNDI configuration.
    Parameters:
      `ctx` - the JNDI `Context`
    Returns:
      a reference to this object for method chaining

  - ### setPrefix

    T setPrefix(String p)
    Sets the prefix in the JNDI tree. When creating the root JNDI context this prefix is taken into account.
    Parameters:
      `p` - the prefix
    Returns:
      a reference to this object for method chaining