Hi,
Is it possible to configure Block without Configurable implementation.
My configuration attributes are dynamic (not known at codding time ) and I am
going to implement "configure" this way:
configuration = configuration.getChild("class");
Object instance = Class.forName(
configuration.getAttribute("name"),true,loader )
.newInstance();
Configuration[] properties = configuration.getChildren();
for (int i = 0; i <= properties.length; i++ ){
// use intospection and reflection to set properties
...........................................................
}
Doe's some phoenix service can do this for me ?
It is very usual and don't want to reinvent this way of configuration.