org.ldaptive.props
Class BlockingConnectionPoolPropertyInvoker

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

public class BlockingConnectionPoolPropertyInvoker
extends AbstractPropertyInvoker

Handles properties for BlockingConnectionPool.

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

Constructor Summary
BlockingConnectionPoolPropertyInvoker(Class<?> c)
          Creates a new blocking connection pool 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

BlockingConnectionPoolPropertyInvoker

public BlockingConnectionPoolPropertyInvoker(Class<?> c)
Creates a new blocking connection pool 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-2017 Virginia Tech. All Rights Reserved.