mirror of https://github.com/apache/activemq.git
make the setProperty public since it can be handy.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@468911 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f370f91664
commit
41265f2b53
|
@ -142,7 +142,7 @@ public class IntrospectionSupport {
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static boolean setProperty(Object target, String name, Object value) {
|
public static boolean setProperty(Object target, String name, Object value) {
|
||||||
try {
|
try {
|
||||||
Class clazz = target.getClass();
|
Class clazz = target.getClass();
|
||||||
Method setter = findSetterMethod(clazz, name);
|
Method setter = findSetterMethod(clazz, name);
|
||||||
|
|
Loading…
Reference in New Issue