Package org.jgroups.conf
Class PropertyConverters.PolicyConverter
java.lang.Object
org.jgroups.conf.PropertyConverters.PolicyConverter
- All Implemented Interfaces:
PropertyConverter
- Enclosing class:
PropertyConverters
Creates a list of Policy objects from a comma-separated list of classnames
-
Constructor Details
-
PolicyConverter
public PolicyConverter()
-
-
Method Details
-
convert
public Object convert(Object obj, Class<?> propertyFieldType, String propertyName, String val, boolean check_scope, StackType ip_version) throws Exception - Specified by:
convertin interfacePropertyConverter- Throws:
Exception
-
toString
Description copied from interface:PropertyConverterConverts the value to a string. The default is to simply invoke Object.toString(), however, some objects need to be printed specially, e.g. a long array etc.- Specified by:
toStringin interfacePropertyConverter- Parameters:
value-- Returns:
-