Package com.alibaba.citrus.service.moduleloader

Examples of com.alibaba.citrus.service.moduleloader.UnadaptableModuleException


        } else {
            Method javaMethod = fastMethod.getJavaMethod();
            int paramsCount = javaMethod.getParameterTypes().length;

            if (paramsCount > 0) {
                throw new UnadaptableModuleException(String.format(
                        "Could not adapt object to module: type=%s, name=%s, class=%s: "
                        + "method %s has %d parameters, but no DataResolvers defined.", moduleInfo.getType(),
                        moduleInfo.getName(), javaMethod.getDeclaringClass().getName(), javaMethod.getName(),
                        paramsCount));
            }
View Full Code Here


            }
        }

        if (module == null) {
            if (moduleObject != null) {
                throw new UnadaptableModuleException("Could not adapt object to module: type=" + moduleType + ", name="
                                                     + moduleName + ", class=" + moduleObject.getClass());
            }
        }

        // 保存到cache。
View Full Code Here

        } else {
            Method javaMethod = fastMethod.getJavaMethod();
            int paramsCount = javaMethod.getParameterTypes().length;

            if (paramsCount > 0) {
                throw new UnadaptableModuleException(String.format(
                        "Could not adapt object to module: type=%s, name=%s, class=%s: "
                                + "method %s has %d parameters, but no DataResolvers defined.", moduleInfo.getType(),
                        moduleInfo.getName(), javaMethod.getDeclaringClass().getName(), javaMethod.getName(),
                        paramsCount));
            }
View Full Code Here

            }
        }

        if (module == null) {
            if (moduleObject != null) {
                throw new UnadaptableModuleException("Could not adapt object to module: type=" + moduleType + ", name="
                        + moduleName + ", class=" + moduleObject.getClass());
            }
        }

        // ���浽cache��
View Full Code Here

TOP

Related Classes of com.alibaba.citrus.service.moduleloader.UnadaptableModuleException

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.