juzu

## Annotation Type Path

-     @Retention(value=RUNTIME)
      @Qualifier
      public @interface Path

  Defines the path to a resource that can be injected in Juzu.

  ## Injecting templates

  Templates can be injected in a Juzu applications, the templates will be located thanks to the path `value()` of the annotation and injected as a `Template` class. For example, a template can be injected in a controller:

  `

          public class MyController {

             @Inject @Path("index.gtmpl") Template index;

             @View
             public Response.Content myView() {
                return index.render();
             }
          }

  `
  Author:
    Julien Viet

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `value` The path value.

- - ### Element Detail

    - #### value

          public abstract String value

      The path value.
      Returns:
        the path value

Copyright © 2013 eXo Platform SAS. All rights reserved.