* Apply features (call methods and set properties)
*/
protected void apply(Object value, ClassLoader loader) throws ConfigException {
Iterator features = getFeatureConfigs();
while (features.hasNext()) {
FeatureConfig feature = (FeatureConfig)features.next();
if (feature instanceof MethodConfig) {
((MethodConfig)feature).invoke(value.getClass(), value, loader);
} else if (feature instanceof PropertyConfig) {
((PropertyConfig)feature).set(value, loader);
}