Package org.apache.activemq.util
Class StringArrayConverter
- java.lang.Object
-
- org.apache.activemq.util.StringArrayConverter
-
public class StringArrayConverter extends Object
Class for converting to/from String[] to be used instead of aPropertyEditor
which otherwise causes memory leaks as the JDKPropertyEditorManager
is a static class and has strong references to classes, causing problems in hot-deployment environments.
-
-
Constructor Summary
Constructors Constructor Description StringArrayConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
convertToString(String[] value)
static String[]
convertToStringArray(Object value)
-