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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and 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 Detail

    - #### 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

Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.