Package org.jgroups.conf
Class PropertyHelper
java.lang.Object
org.jgroups.conf.PropertyHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectgetConvertedValue(Object obj, Field field, String value, boolean check_scope, StackType ip_version) static ObjectgetConvertedValue(Object obj, Field field, Map<String, String> props, String prop, boolean check_scope, StackType ip_version) static ObjectgetConvertedValue(Object obj, Method method, Map<String, String> props, String prop, boolean check_scope, StackType ip_version) static StringgetPropertyName(Field field, Map<String, String> props) static StringgetPropertyName(Method method) static booleanusesDefaultConverter(Field field)
-
Field Details
-
log
-
-
Constructor Details
-
PropertyHelper
private PropertyHelper()
-
-
Method Details
-
getPropertyName
public static String getPropertyName(Field field, Map<String, String> props) throws IllegalArgumentException- Throws:
IllegalArgumentException
-
getPropertyName
- Throws:
IllegalArgumentException
-
getConvertedValue
public static Object getConvertedValue(Object obj, Field field, Map<String, String> props, String prop, boolean check_scope, StackType ip_version) throws Exception- Throws:
Exception
-
getConvertedValue
public static Object getConvertedValue(Object obj, Field field, String value, boolean check_scope, StackType ip_version) throws Exception - Throws:
Exception
-
getConvertedValue
public static Object getConvertedValue(Object obj, Method method, Map<String, String> props, String prop, boolean check_scope, StackType ip_version) throws Exception- Throws:
Exception
-
usesDefaultConverter
- Throws:
IllegalArgumentException
-