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
  Version:
    $Id: JndiBuilderProperties.java 1624757 2014-09-13 15:47:43Z oheger $

- - ### Method Summary

    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–2014 The Apache Software Foundation. All rights reserved.