|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.larsan.urd.conf.AttributeReflector
A simple base class used by fatories. Attributes as given in a properties object will by set on a target object such that an attribute named "bindAddress" will be set using a "setBindAddress" method.
| Constructor Summary | |
AttributeReflector()
|
|
| Method Summary | |
protected void |
reflectAttributes(java.lang.Object target,
java.util.Properties attributes)
Set attributes as members in an object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AttributeReflector()
| Method Detail |
protected void reflectAttributes(java.lang.Object target,
java.util.Properties attributes)
throws ConfigurationException
The attribute "factoryClass" is ignored.
This method uses strict naming. All attributes must be matched by a "set"-method.
Empty attributes will not be set.
target - Object to set attributes in
ConfigurationException - If an attribute cannot be set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||