org.apache.activemq.util
Class StringArrayConverter

java.lang.Object
  extended by org.apache.activemq.util.StringArrayConverter

public class StringArrayConverter
extends Object

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
StringArrayConverter()
           
 
Method Summary
static String convertToString(String[] value)
           
static String[] convertToStringArray(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringArrayConverter

public StringArrayConverter()
Method Detail

convertToStringArray

public static String[] convertToStringArray(Object value)

convertToString

public static String convertToString(String[] value)


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.