org.ldaptive.props
Class BindConnectionInitializerPropertyInvoker

java.lang.Object
  extended by org.ldaptive.props.AbstractPropertyInvoker
      extended by org.ldaptive.props.BindConnectionInitializerPropertyInvoker
All Implemented Interfaces:
PropertyInvoker

public class BindConnectionInitializerPropertyInvoker
extends AbstractPropertyInvoker

Handles properties for BindConnectionInitializer.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Constructor Summary
BindConnectionInitializerPropertyInvoker(Class<?> c)
          Creates a new bind connection initializer property invoker for the supplied class.
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindConnectionInitializerPropertyInvoker

public BindConnectionInitializerPropertyInvoker(Class<?> c)
Creates a new bind connection initializer property invoker for the supplied class.

Parameters:
c - class that has setter methods
Method Detail

convertValue

protected Object convertValue(Class<?> type,
                              String value)
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


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.