Package org.jgroups.conf
Class PropertyHelper
- java.lang.Object
-
- org.jgroups.conf.PropertyHelper
-
public final class PropertyHelper extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
getConvertedValue(java.lang.Object obj, java.lang.reflect.Field field, java.lang.String value, boolean check_scope, StackType ip_version)
static java.lang.Object
getConvertedValue(java.lang.Object obj, java.lang.reflect.Field field, java.util.Map<java.lang.String,java.lang.String> props, java.lang.String prop, boolean check_scope, StackType ip_version)
static java.lang.Object
getConvertedValue(java.lang.Object obj, java.lang.reflect.Method method, java.util.Map<java.lang.String,java.lang.String> props, java.lang.String prop, boolean check_scope, StackType ip_version)
static java.lang.String
getPropertyName(java.lang.reflect.Field field, java.util.Map<java.lang.String,java.lang.String> props)
static java.lang.String
getPropertyName(java.lang.reflect.Method method)
static boolean
usesDefaultConverter(java.lang.reflect.Field field)
-
-
-
Field Detail
-
log
protected static final Log log
-
-
Method Detail
-
getPropertyName
public static java.lang.String getPropertyName(java.lang.reflect.Field field, java.util.Map<java.lang.String,java.lang.String> props) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
getPropertyName
public static java.lang.String getPropertyName(java.lang.reflect.Method method) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
getConvertedValue
public static java.lang.Object getConvertedValue(java.lang.Object obj, java.lang.reflect.Field field, java.util.Map<java.lang.String,java.lang.String> props, java.lang.String prop, boolean check_scope, StackType ip_version) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getConvertedValue
public static java.lang.Object getConvertedValue(java.lang.Object obj, java.lang.reflect.Field field, java.lang.String value, boolean check_scope, StackType ip_version) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getConvertedValue
public static java.lang.Object getConvertedValue(java.lang.Object obj, java.lang.reflect.Method method, java.util.Map<java.lang.String,java.lang.String> props, java.lang.String prop, boolean check_scope, StackType ip_version) throws java.lang.Exception
- Throws:
java.lang.Exception
-
usesDefaultConverter
public static boolean usesDefaultConverter(java.lang.reflect.Field field) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
-