Package org.ldaptive.props
Class PooledConnectionFactoryPropertyInvoker
- java.lang.Object
-
- org.ldaptive.props.AbstractPropertyInvoker
-
- org.ldaptive.props.BlockingConnectionPoolPropertyInvoker
-
- org.ldaptive.props.PooledConnectionFactoryPropertyInvoker
-
- All Implemented Interfaces:
PropertyInvoker
public class PooledConnectionFactoryPropertyInvoker extends BlockingConnectionPoolPropertyInvoker
Handles properties forPooledConnectionFactory
.
-
-
Constructor Summary
Constructors Constructor Description PooledConnectionFactoryPropertyInvoker(Class<?> c)
Creates a new pooled connection factory property invoker for the supplied class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
convertValue(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 Detail
-
PooledConnectionFactoryPropertyInvoker
public PooledConnectionFactoryPropertyInvoker(Class<?> c)
Creates a new pooled connection factory property invoker for the supplied class.- Parameters:
c
- class that has setter methods
-
-
Method Detail
-
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.- Overrides:
convertValue
in classBlockingConnectionPoolPropertyInvoker
- Parameters:
type
- of object to convert value intovalue
- to parse- Returns:
- object of the supplied type
-
-