Package org.auraframework.impl.java.model

Examples of org.auraframework.impl.java.model.JavaValueDef


                    String qn = "java://" + formatType(genParams[i]);
                    DefDescriptor<TypeDef> typeDefDesc = DefDescriptorImpl.getInstance(qn, TypeDef.class);

                    // FIXME = "we need an md5";
                    String paramName = ((Key) annotation).value();
                    ValueDef valueDef = new JavaValueDef(paramName, typeDefDesc, new Location(
                            controllerClass.getName() + "." + name, 0));
                    params.add(valueDef);
                   
                    if (((Key)annotation).loggable()) {
                        loggableParams.add(paramName);
View Full Code Here


        Cache<DescriptorKey, DefDescriptor<? extends Definition>> cache =
            Aura.getCachingService().getDefDescriptorByNameCache();
        cache.put(dk, JavaValueDefDescMocked);
       
      //jvd doesn't matter that much for triggering QFE, as we only used it as the Object param
        JavaValueDef jvd = new JavaValueDef("tvdQFE", JavaValueDefDesc, null);
        Map<String, Object> args = new HashMap<>();
        args.put("keya", jvd);
      ControllerDef controller = getJavaController("java://org.auraframework.impl.java.controller.TestControllerOnlyForJavaControllerTest");
      
      //we actually catch the QFE in JavaAction.getArgs(), then wrap it up with AuraUnhandledException
View Full Code Here

TOP

Related Classes of org.auraframework.impl.java.model.JavaValueDef

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.