Class BeanSupport
java.lang.Object
org.apache.activemq.artemis.utils.uri.BeanSupport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <P> PcopyData(P source, P target) static voidcustomise(org.apache.commons.beanutils.BeanUtilsBean bean) static Stringstatic Stringstatic Stringstatic <P> PropertiesgetProperties(P bean, Properties properties) static voidregisterConverter(org.apache.commons.beanutils.Converter converter, Class type) static voidsetData(URI uri, Map<String, Object> properties, Set<String> allowableProperties, Map<String, String> query, Map<String, Object> extraProps) static <P> Pstatic <P> Pstatic <P> PsetProperties(P bean, Properties properties) static <T> voidstripPasswords(Map<String, T> properties)
-
Constructor Details
-
BeanSupport
public BeanSupport()
-
-
Method Details
-
registerConverter
-
customise
public static void customise(org.apache.commons.beanutils.BeanUtilsBean bean) -
copyData
- Throws:
Exception
-
setData
- Throws:
Exception
-
setData
- Throws:
Exception
-
stripPasswords
-
setProperties
public static <P> P setProperties(P bean, Properties properties) throws IllegalAccessException, NoSuchMethodException, InvocationTargetException -
getProperties
public static <P> Properties getProperties(P bean, Properties properties) throws IllegalAccessException, NoSuchMethodException, InvocationTargetException -
setData
-
getData
- Throws:
Exception
-
decodeURI
-
encodeURI
-