Examples of URLMappings


Examples of com.ocpsoft.pretty.faces.annotation.URLMappings

         String mappingId = processPrettyMappingAnnotation(clazz, mappingAnnotation);
         classMappingIds.add(mappingId);
      }

      // container annotation
      URLMappings mappingsAnnotation = (URLMappings) clazz.getAnnotation(URLMappings.class);

      if (mappingsAnnotation != null)
      {

         // process all contained @URLMapping annotations
         for (URLMapping child : mappingsAnnotation.mappings())
         {
            String mappingId = processPrettyMappingAnnotation(clazz, child);
            classMappingIds.add(mappingId);
         }
View Full Code Here

Examples of com.ocpsoft.pretty.faces.annotation.URLMappings

         String mappingId = processPrettyMappingAnnotation(clazz, mappingAnnotation);
         classMappingIds.add(mappingId);
      }

      // container annotation
      URLMappings mappingsAnnotation = (URLMappings) clazz.getAnnotation(URLMappings.class);

      if (mappingsAnnotation != null)
      {

         // process all contained @URLMapping annotations
         for (URLMapping child : mappingsAnnotation.mappings())
         {
            String mappingId = processPrettyMappingAnnotation(clazz, child);
            classMappingIds.add(mappingId);
         }
View Full Code Here

Examples of es.internna.framework.annotations.UrlMappings

    private void registerController(Object bean, String beanName)
    {
        Class<?> clazz = this.getClass(bean);
        UrlMapping mapping = clazz.getAnnotation(UrlMapping.class);
        if (mapping != null) registerHandler(mapping.value(), beanName);
        UrlMappings mappings = clazz.getAnnotation(UrlMappings.class);
        if (mappings != null)
            for (UrlMapping map : mappings.value())
                registerHandler(map.value(), beanName);
    }
View Full Code Here

Examples of es.internna.framework.annotations.UrlMappings

    public final Set<String> getUrlMappings()
    {
        Set<String> combinedMappings = new HashSet<String>(urlMappings);
        UrlMapping urlMapping = ClassUtils.getAnnotation(UrlMapping.class, this);
        if ((urlMapping != null) && (urlMapping.value() != null)) combinedMappings.add(urlMapping.value());
        UrlMappings mappings = ClassUtils.getAnnotation(UrlMappings.class, this);
        if (mappings != null)
            for (UrlMapping map : mappings.value())
                if ((map != null) && (map.value() != null)) combinedMappings.add(map.value());
        return combinedMappings;
    }
View Full Code Here

Examples of es.internna.spring.annotations.UrlMappings

    private void registerController(Object bean, String beanName)
    {
        Class<?> clazz = this.getClass(bean);
        UrlMapping mapping = clazz.getAnnotation(UrlMapping.class);
        if (mapping != null) registerHandler(mapping.value(), beanName);
        UrlMappings mappings = clazz.getAnnotation(UrlMappings.class);
        if (mappings != null)
            for (UrlMapping map : mappings.value())
                registerHandler(map.value(), beanName);
    }
View Full Code Here

Examples of es.internna.spring.annotations.UrlMappings

    public final Set<String> getUrlMappings()
    {
        Set<String> combinedMappings = new HashSet<String>(urlMappings);
        UrlMapping urlMapping = ClassUtils.getAnnotation(UrlMapping.class, this);
        if ((urlMapping != null) && (urlMapping.value() != null)) combinedMappings.add(urlMapping.value());
        UrlMappings mappings = ClassUtils.getAnnotation(UrlMappings.class, this);
        if (mappings != null)
            for (UrlMapping map : mappings.value())
                if ((map != null) && (map.value() != null)) combinedMappings.add(map.value());
        return combinedMappings;
    }
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.