Package org.tamacat.util

Examples of org.tamacat.util.ClassUtilsException


    private <T> T setterInjection(T instance, BeanDefineParam prop, BeanDefine def, Object param) {
        Method method = prop.getMethod();
        if (method == null) {
          Class<?> p = param != null ? param.getClass() : null;
            method = ClassUtils.searchMethod(def.getType(), prop.getName(), p);
            if (method == null) throw new ClassUtilsException("method is null. [" + prop.getName() + ":" + param + "] in " + instance);
        }
        ClassUtils.invoke(method, instance, param);
        //Regist method cache.
        prop.setMethod(method);
        return instance;
View Full Code Here

TOP

Related Classes of org.tamacat.util.ClassUtilsException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.