Errai 3.0.1-SNAPSHOT

org.jboss.errai.codegen.util
Class ProxyUtil.InterceptorProvider

java.lang.Object
  extended by org.jboss.errai.codegen.util.ProxyUtil.InterceptorProvider
Enclosing class:
ProxyUtil

public static class ProxyUtil.InterceptorProvider
extends Object

A utility class that provides a list of interceptors for a given remote interface and method.


Constructor Summary
ProxyUtil.InterceptorProvider(Collection<MetaClass> featureInterceptors, Collection<MetaClass> standaloneInterceptors)
           
 
Method Summary
 List<Class<?>> getInterceptors(MetaClass type, MetaMethod method)
          Returns the interceptors for the provided proxy type and method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyUtil.InterceptorProvider

public ProxyUtil.InterceptorProvider(Collection<MetaClass> featureInterceptors,
                                     Collection<MetaClass> standaloneInterceptors)
Method Detail

getInterceptors

public List<Class<?>> getInterceptors(MetaClass type,
                                      MetaMethod method)
Returns the interceptors for the provided proxy type and method.

Parameters:
type - the remote interface
method - the remote method
Returns:
the list of interceptors that should be triggered when invoking the provided proxy method on the provided type, never null.

Errai 3.0.1-SNAPSHOT

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