Package org.vraptor.annotations

Examples of org.vraptor.annotations.Component


    public static final String[] OLD_COMPONENT_TERMINATIONS = { "Controller", "Logic", "Command", "Action",
            "Component", "Manager" };

    public static String getComponentName(Class<?> type) {
        Component component = type.getAnnotation(Component.class);
        String componentName = component.value();
        if (componentName.equals("")) {
            return getComponentNameForTypeWithoutAnnotationValue(type);
        }
        return componentName;
    }
View Full Code Here

TOP

Related Classes of org.vraptor.annotations.Component

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.