RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1

org.jboss.resteasy.spi.interception
Interface DecoratorProcessor<T,A extends Annotation>


public interface DecoratorProcessor<T,A extends Annotation>

Part of a generic decorator framework.

Decorate a target. For example, decorate a JAXB Marshaller with property values.

Version:
$Revision: 1 $
Author:
Bill Burke

Method Summary
 T decorate(T target, A annotation, Class type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
           
 

Method Detail

decorate

T decorate(T target,
           A annotation,
           Class type,
           Annotation[] annotations,
           javax.ws.rs.core.MediaType mediaType)
Parameters:
target - i.e. a Marshaller instance
annotation - the annotation that triggered the decorator
type -
annotations -
mediaType -
Returns:
should never return null

RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.