Class DefaultConnectionFactoryPropertyInvoker

java.lang.Object
org.ldaptive.props.AbstractPropertyInvoker
org.ldaptive.props.DefaultConnectionFactoryPropertyInvoker
All Implemented Interfaces:
PropertyInvoker

public class DefaultConnectionFactoryPropertyInvoker extends AbstractPropertyInvoker
Handles properties for DefaultConnectionFactory.
  • Constructor Details

    • DefaultConnectionFactoryPropertyInvoker

      public DefaultConnectionFactoryPropertyInvoker(Class<?> c)
      Creates a new default connection factory property invoker for the supplied class.
      Parameters:
      c - class that has setter methods
  • Method Details

    • convertValue

      protected Object convertValue(Class<?> type, String value)
      Description copied from class: AbstractPropertyInvoker
      Converts the supplied string value into an Object of the supplied type. If value cannot be converted it is returned as is.
      Specified by:
      convertValue in class AbstractPropertyInvoker
      Parameters:
      type - of object to convert value into
      value - to parse
      Returns:
      object of the supplied type