Examples of interfaceName()


Examples of com.alibaba.dubbo.config.annotation.Service.interfaceName()

        }
        Service service = bean.getClass().getAnnotation(Service.class);
        if (service != null) {
            ServiceBean<Object> serviceConfig = new ServiceBean<Object>(service);
            if (void.class.equals(service.interfaceClass())
                    && "".equals(service.interfaceName())) {
                if (bean.getClass().getInterfaces().length > 0) {
                    serviceConfig.setInterface(bean.getClass().getInterfaces()[0]);
                } else {
                    throw new IllegalStateException("Failed to export remote service class " + bean.getClass().getName() + ", cause: The @Service undefined interfaceClass or interfaceName, and the service class unimplemented any interfaces.");
                }
View Full Code Here

Examples of com.alibaba.dubbo.config.annotation.Service.interfaceName()

        }
        Service service = bean.getClass().getAnnotation(Service.class);
        if (service != null) {
            ServiceBean<Object> serviceConfig = new ServiceBean<Object>(service);
            if (void.class.equals(service.interfaceClass())
                    && "".equals(service.interfaceName())) {
                if (bean.getClass().getInterfaces().length > 0) {
                    serviceConfig.setInterface(bean.getClass().getInterfaces()[0]);
                } else {
                    throw new IllegalStateException("Failed to export remote service class " + bean.getClass().getName() + ", cause: The @Service undefined interfaceClass or interfaceName, and the service class unimplemented any interfaces.");
                }
View Full Code Here

Examples of com.alibaba.dubbo.config.annotation.Service.interfaceName()

        }
        Service service = bean.getClass().getAnnotation(Service.class);
        if (service != null) {
            ServiceBean<Object> serviceConfig = new ServiceBean<Object>(service);
            if (void.class.equals(service.interfaceClass())
                    && "".equals(service.interfaceName())) {
                if (bean.getClass().getInterfaces().length > 0) {
                    serviceConfig.setInterface(bean.getClass().getInterfaces()[0]);
                } else {
                    throw new IllegalStateException("Failed to export remote service class " + bean.getClass().getName() + ", cause: The @Service undefined interfaceClass or interfaceName, and the service class unimplemented any interfaces.");
                }
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.TypeCompiler.interfaceName()

    /*
     * * Now that we know the target interface type, set it. This assumes *
     * that both operands have the same interface type, which is a safe *
     * assumption for the concatenation operator.
     */
    this.setLeftRightInterfaceType(tc.interfaceName());

    return this;
  }

  /**
 
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.TypeCompiler.interfaceName()

    }
   
    resultType = getTypeId();
    TypeCompiler tc = getTypeCompiler();

    resultTypeName = tc.interfaceName();

    /* Allocate an object for re-use to hold the result of the conversion */
    LocalField field = acb.newFieldDeclaration(Modifier.PRIVATE, resultTypeName);

    /* Generate the expression for the Java value under us */
 
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.TypeCompiler.interfaceName()

    /*
    ** Now that we know the target interface type, set it.  This assumes
    ** that both operands have the same interface type, which is a safe
    ** assumption for the concatenation operator.
    */
    this.setLeftRightInterfaceType(tc.interfaceName());

    return this;
  }

  /**
 
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.TypeCompiler.interfaceName()

  public void generateExpression(ExpressionClassBuilder acb,
                      MethodBuilder mb)
                  throws StandardException {

    TypeCompiler    tc = getTypeCompiler();
        String fieldType = tc.interfaceName();

    /*
    ** NOTE: DO NOT CALL THE CONSTRUCTOR TO GENERATE ANYTHING.  IT HAS
    ** A DIFFERENT value FIELD.
    */
 
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.TypeCompiler.interfaceName()

    }
   
    resultType = getTypeId();
    TypeCompiler tc = getTypeCompiler();

    resultTypeName = tc.interfaceName();

    /* Allocate an object for re-use to hold the result of the conversion */
    LocalField field = acb.newFieldDeclaration(Modifier.PRIVATE, resultTypeName);

    /* Generate the expression for the Java value under us */
 
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.TypeCompiler.interfaceName()

    /*
     * * Now that we know the target interface type, set it. This assumes *
     * that both operands have the same interface type, which is a safe *
     * assumption for the concatenation operator.
     */
    this.setLeftRightInterfaceType(tc.interfaceName());

    return this;
  }

  /**
 
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.TypeCompiler.interfaceName()

    }
   
    resultType = getTypeId();
    TypeCompiler tc = getTypeCompiler();

    resultTypeName = tc.interfaceName();

    /* Allocate an object for re-use to hold the result of the conversion */
    LocalField field = acb.newFieldDeclaration(Modifier.PRIVATE, resultTypeName);

    /* Generate the expression for the Java value under us */
 
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.