Annotation Interface MCRStaticContent


@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface MCRStaticContent
The MCRStaticContent annotation marks a resource or method to run without a MyCoRe transaction, session or access filter. Basically it disables the MCRJerseyDefaultFeature for the annotated element.

Use this annotation if you deliver static content.

You can annotate whole resources or just single methods.

Author:
Matthias Eichner