Package org.apache.activemq.util
Class StringArrayConverter
java.lang.Object
org.apache.activemq.util.StringArrayConverter
Class for converting to/from String[] to be used instead of a
PropertyEditor
which otherwise causes
memory leaks as the JDK PropertyEditorManager
is a static class and has strong references to classes, causing
problems in hot-deployment environments.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
convertToString
(String[] value) static String[]
convertToStringArray
(Object value)
-
Constructor Details
-
StringArrayConverter
public StringArrayConverter()
-
-
Method Details
-
convertToStringArray
-
convertToString
-