/** * Get the property info * * @param trace whether trace is enabled * @param info the bean info * @param name the property name * @return the property info * @throws Throwable for any error */ public static PropertyInfo resolveProperty(boolean trace, BeanInfo info, String name) throws Throwable { return resolveProperty(trace, info, null, name, null); }
/** * Unconfigure a bean property * * @param object the object to unconfigure * @param cl the classloader * @param info the bean info * @param metaData the property metadata * @throws Throwable for any error */ public static void unconfigure(Object object, ClassLoader cl, BeanInfo info, PropertyMetaData metaData) throws Throwable { boolean trace = log.isTraceEnabled(); PropertyInfo ainfo = resolveProperty(trace, info, cl, metaData.getName(), metaData.getType()); unconfigure(trace, object, ainfo, metaData); }
/** * Configure a bean property * * @param trace whether trace is enabled * @param object the object to configure * @param info the bean info * @param cl the classloader * @param metaData the property metadata * @throws Throwable for any error */ public static void configure(boolean trace, Object object, BeanInfo info, ClassLoader cl, PropertyMetaData metaData) throws Throwable { PropertyInfo ainfo = resolveProperty(trace, info, cl, metaData.getName(), metaData.getType()); configure(trace, object, ainfo, cl, metaData); }
propertyInfo = Configurator.resolveProperty(log.isTraceEnabled(), context.getBeanInfo(), cl, property, signature);