Annotation Type MountPath


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    public @interface MountPath
    Specify the primary and alternate paths to mount a Page.

    If no value (or an empty string) is provided, the AnnotatedMountScanner class will resolve a value based on the page class (by default, pageClass.getSimpleName()).

    The primary mount path is listed ahead of alternate paths in any list returned by AnnotatedMountScanner. Thus, when determining which path to mount a page on, it always picks the first one found.

    Author:
    Doug Donohoe, Ronald Tetsuo Miura
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String[] alt  
      String value  
    • Element Detail

      • value

        String value
        Returns:
        primary mount path. If no value (or an empty string) is provided, the AnnotatedMountScanner class will resolve a value based on the page class (by default, pageClass.getSimpleName()).
        Default:
        ""
      • alt

        String[] alt
        Returns:
        alternate mount paths
        Default:
        {}