|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.synapse.commons.util.PropertyHelper
public class PropertyHelper
This class will be used as a Helper class to get the properties loaded while building the Synapse Configuration from the XML
Constructor Summary | |
---|---|
PropertyHelper()
|
Method Summary | |
---|---|
static boolean |
isStaticProperty(OMElement property)
This method will check the given OMElement represent either a static property or not |
static void |
setInstanceProperty(String name,
Object val,
Object obj)
Find and invoke the setter method with the name of form setXXX passing in the value given on the POJO object |
static void |
setStaticProperty(OMElement property,
Object o)
This method will set the static property discribed in the OMElement to the specified object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyHelper()
Method Detail |
---|
public static void setInstanceProperty(String name, Object val, Object obj)
name
- name of the setter fieldval
- value to be setobj
- POJO instancepublic static void setStaticProperty(OMElement property, Object o)
property
- - OMElement specifying the property to be built in to the objecto
- - Object to which the specified property will be set.public static boolean isStaticProperty(OMElement property)
property
- - OMElement to be checked for the static property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |