Package org.auraframework.impl.java.renderer

Examples of org.auraframework.impl.java.renderer.JavaRendererDef.validateDefinition()


        builder.setDescriptor(DefDescriptorImpl.getInstance(
                "java://org.auraframework.impl.renderer.sampleJavaRenderers.TestSimpleRenderer", RendererDef.class));
        JavaRendererDef def = builder.build();

        try {
            def.validateDefinition();
            fail("JavaRendererDef cannot be created if interface not implemented.");
        } catch (Exception e) {
            checkExceptionFull(e, InvalidDefinitionException.class, "Renderer must implement the Renderer interface.");
        }
    }
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.