public class LdapConfigPropertyInvoker extends AbstractPropertyInvoker
PropertyInvoker
stores setter methods for a class to make method
invocation by property easier.clazz, logger, properties, PROPERTIES_CACHE
Constructor and Description |
---|
LdapConfigPropertyInvoker(Class<?> c,
String propertiesDomain)
Creates a new
PropertyInvoker for the supplied class. |
Modifier and Type | Method and Description |
---|---|
protected Object |
convertValue(Class<?> type,
String value)
This converts the supplied string value into an Object of the appropriate
supplied type.
|
protected Object |
createArrayTypeFromPropertyValue(Class<?> c,
String s)
Returns the object which represents an array of the supplied class given
the supplied string representation.
|
protected Object |
createTypeFromPropertyValue(Class<?> c,
String s)
Returns the object which represents the supplied class given the supplied
string representation.
|
createClass, getProperties, hasProperty, initialize, instantiateType, invokeMethod, setProperty
protected Object convertValue(Class<?> type, String value)
convertValue
in class AbstractPropertyInvoker
type
- of object to convert value intovalue
- to parseprotected Object createTypeFromPropertyValue(Class<?> c, String s)
c
- Class
type to instantiates
- String
to parseObject
of the supplied type or nullprotected Object createArrayTypeFromPropertyValue(Class<?> c, String s)
c
- Class
type to instantiates
- String
to parseObject
that is an array or nullCopyright © 2016. All rights reserved.