org.jboss.resteasy.annotations.providers.jaxb.DoNotUseJAXBProvider Maven / Gradle / Ivy
package org.jboss.resteasy.annotations.providers.jaxb;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Put this on a class or parameter when you do not want the JAXB MessageBodyReader/Writer
* used but instead have a more specific provider you want to use to marshall the type.
*
* @author Bill Burke
* @version $Revision: 1 $
*/
@Target({ ElementType.TYPE, ElementType.PARAMETER, ElementType.FIELD, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface DoNotUseJAXBProvider {
}