Add the specified managed property to the set that is associated with this managed bean, replacing any previous entry.
14681469147014711472147314741475147614771478
name = field.getName(); } mpc.setName(name); mpc.setType(field.getType().getName()); // FIXME - primitives, arrays, etc. mpc.setValue(property.value()); mbc.addProperty(mpc); continue; } // Support deprecated @Value annotation as well Value value = (Value) field.getAnnotation(Value.class); if (value != null) {
14811482148314841485148614871488148914901491
} ManagedPropertyConfig mpc = new ManagedPropertyConfig(); mpc.setName(field.getName()); mpc.setType(field.getType().getName()); // FIXME - primitives, arrays, etc. mpc.setValue(value.value()); mbc.addProperty(mpc); continue; } } config.addManagedBean(mbc); }
8283848586878889909192
ManagedPropertyConfig config = (ManagedPropertyConfig) digester.pop(); ManagedBeanConfig parent = (ManagedBeanConfig) digester.peek(); ManagedPropertyConfig previous = parent.getProperty(config.getName()); if (previous == null) { parent.addProperty(config); } else { merge(config, previous); } }