All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.resteasy.spi.interception.DecoratorProcessor Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
package org.jboss.resteasy.spi.interception;

import javax.ws.rs.core.MediaType;
import java.lang.annotation.Annotation;

/**
 * Part of a generic decorator framework.
 * 

* Decorate a target. For example, decorate a JAXB Marshaller with property values. * * @author Bill Burke * @version $Revision: 1 $ */ public interface DecoratorProcessor { /** * @param target i.e. a Marshaller instance * @param annotation the annotation that triggered the decorator * @param type * @param annotations * @param mediaType * @return should never return null */ T decorate(T target, A annotation, Class type, Annotation[] annotations, MediaType mediaType); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy