Package com.bj58.spat.gaea.server.contract.annotation

Examples of com.bj58.spat.gaea.server.contract.annotation.OperationContract.methodName()


    String methodName = "";
    OperationContract oc = mi.getMethod().getAnnotation(OperationContract.class);
    if(oc == null) {
      methodName = mi.getMethod().getName();
    } else {
      if(!oc.methodName().equalsIgnoreCase(AnnotationUtil.DEFAULT_VALUE)) {
        methodName = oc.methodName();
      } else {
        methodName = mi.getMethod().getName();
      }
    }
View Full Code Here


    OperationContract oc = mi.getMethod().getAnnotation(OperationContract.class);
    if(oc == null) {
      methodName = mi.getMethod().getName();
    } else {
      if(!oc.methodName().equalsIgnoreCase(AnnotationUtil.DEFAULT_VALUE)) {
        methodName = oc.methodName();
      } else {
        methodName = mi.getMethod().getName();
      }
    }
    return methodName;
View Full Code Here

        }
        Parameter returnPara = new Parameter(null, methodInfo.getReturnType(), methodInfo.getGenericReturnType());
        String methodName = methodInfo.getName();
        OperationContract ann = methodInfo.getAnnotation(OperationContract.class);
        if (ann != null) {
            if (!ann.methodName().equals(AnnotationUtil.DEFAULT_VALUE)) {
                methodName = "$" + ann.methodName();
            }
        }
        InvokeResult result = proxy.invoke(returnPara, lookup, methodName, paras);
View Full Code Here

        Parameter returnPara = new Parameter(null, methodInfo.getReturnType(), methodInfo.getGenericReturnType());
        String methodName = methodInfo.getName();
        OperationContract ann = methodInfo.getAnnotation(OperationContract.class);
        if (ann != null) {
            if (!ann.methodName().equals(AnnotationUtil.DEFAULT_VALUE)) {
                methodName = "$" + ann.methodName();
            }
        }
        InvokeResult result = proxy.invoke(returnPara, lookup, methodName, paras);

        if (result != null && result.getOutPara() != null) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.