Package org.auraframework.system.Annotations

Examples of org.auraframework.system.Annotations.Controller


            return null;
        }
        builder.setControllerClass(c);
        // FIXME = "we need an md5";
        builder.setLocation(c.getCanonicalName(), -1);
        Controller ann = c.getAnnotation(Controller.class);
        if (ann == null) {
            throw new InvalidDefinitionException(String.format(
                    "@Controller annotation is required on all Controllers.  Not found on %s", descriptor),
                    builder.getLocation());
        }
        builder.setBean(ann.bean());
        try {
            builder.setActionMap(createActions(c, builder.getDescriptor(), ann.bean()));
        } catch (QuickFixException qfe) {
            builder.setParseError(qfe);
        }
        return builder;
    }
View Full Code Here

TOP

Related Classes of org.auraframework.system.Annotations.Controller

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.