Package org.ldaptive.props
Class BindConnectionInitializerPropertyInvoker
java.lang.Object
org.ldaptive.props.AbstractPropertyInvoker
org.ldaptive.props.BindConnectionInitializerPropertyInvoker
- All Implemented Interfaces:
PropertyInvoker
Handles properties for
BindConnectionInitializer.-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new bind connection initializer property invoker for the supplied class. -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectconvertValue(Class<?> type, String value) Converts the supplied string value into an Object of the supplied type.Methods inherited from class org.ldaptive.props.AbstractPropertyInvoker
convertSimpleType, createArrayEnumFromPropertyValue, createArrayTypeFromPropertyValue, createClass, createTypeFromPropertyValue, getEnum, getProperties, hasProperty, initialize, instantiateType, invokeMethod, setProperty
-
Constructor Details
-
BindConnectionInitializerPropertyInvoker
Creates a new bind connection initializer property invoker for the supplied class.- Parameters:
c- class that has setter methods
-
-
Method Details
-
convertValue
Description copied from class:AbstractPropertyInvokerConverts the supplied string value into an Object of the supplied type. If value cannot be converted it is returned as is.- Specified by:
convertValuein classAbstractPropertyInvoker- Parameters:
type- of object to convert value intovalue- to parse- Returns:
- object of the supplied type
-