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
    Sets the JNDI context to be used by the JNDI configuration.
    Sets the prefix in the JNDI tree.
  • Method Details

    • setContext

      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

      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