Errai 3.0.1-SNAPSHOT

org.jboss.errai.common.client.api.interceptor
Annotation Type InterceptsRemoteCall


@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface InterceptsRemoteCall

This annotation is used to indicate that a particular class should be used as an interceptor for a remote interface (e.g. RPC or REST interface). This works similarly to the InterceptedCall annotation but has the added benefit that it does not require the remote interface to be annotated. The class that is annotated should implement the RemoteCallInterceptor interface.


Required Element Summary
 Class<?>[] value
          The interceptor type(s) to use.
 

Element Detail

value

public abstract Class<?>[] value
The interceptor type(s) to use. Interceptor execution is guaranteed to be in declaration order.


Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.