juzu

## Annotation Type Resource

-     @Retention(value=RUNTIME)
      @Target(value=METHOD)
      public @interface Resource

  Annotate a method for declaring a resource serving controller method. `

          public void MyController {

             @Resource
             public void myResource() {
                ...
             }
          }

  `
  Author:
    Julien Viet

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `id` The controller method id.

- - ### Element Detail

    - #### id

          public abstract String id

      The controller method id.
      Returns:
        the controller method id
      Default:
        ""

Copyright © 2014 eXo Platform SAS. All rights reserved.