@Retention(value=RUNTIME) @Qualifier public @interface Path
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();
}
}
public abstract String value
Copyright © 2017 eXo Platform SAS. All rights reserved.