Annotation Type ResourceListener


@Target(TYPE)
@Retention(RUNTIME)
public @interface ResourceListener

Allows you to register a listener for a specific REST Resource. This should be added at the class-level to a subclass of a listener class made specifically for a module's REST Resource. There is only 1 parameter: value (of type String). Set it to the full name (including package) of the class your listener extends so it can picked up at server startup and used within the module's REST Resource.

See ResourceListenerFactory for more information.

  • Required Element Summary

    Required Elements 
    Modifier and Type Required Element Description
    java.lang.String value  
  • Element Details

    • value

      java.lang.String value