Package org.jboss.capedwarf.common.env

Examples of org.jboss.capedwarf.common.env.Secure


            String scn = clazz.getSimpleName();
            int p = scn.indexOf(Path2Controller.class.getSimpleName());
            String name = scn.substring(0, p);

            StringBuilder builder = new StringBuilder("/");
            Secure secure = clazz.getAnnotation(Secure.class);
            if (secure != null)
                builder.append(secure.value()).append("/");

            char[] chars = name.toCharArray();
            for (int i = 0; i < chars.length; i++) {
                if (Character.isUpperCase(chars[i]) && i > 0)
                    builder.append('-');
View Full Code Here

TOP

Related Classes of org.jboss.capedwarf.common.env.Secure

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.