org.ldaptive.props
Class ProviderConfigPropertyInvoker

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

public class ProviderConfigPropertyInvoker
extends AbstractPropertyInvoker

Handles properties for ProviderConfig.

Version:
$Revision: 2999 $ $Date: 2014-06-11 13:29:32 -0400 (Wed, 11 Jun 2014) $
Author:
Middleware Services

Constructor Summary
ProviderConfigPropertyInvoker(Class<?> c)
          Creates a new provider config 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

ProviderConfigPropertyInvoker

public ProviderConfigPropertyInvoker(Class<?> c)
Creates a new provider config 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.