org.jboss.errai.codegen.util
Class ProxyUtil.InterceptorProvider
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyUtil.InterceptorProvider
public ProxyUtil.InterceptorProvider(Collection<MetaClass> featureInterceptors,
Collection<MetaClass> standaloneInterceptors)
getInterceptors
public List<Class<?>> getInterceptors(MetaClass type,
MetaMethod method)
- Returns the interceptors for the provided proxy type and method.
- Parameters:
type
- the remote interfacemethod
- the remote method
- Returns:
- the list of interceptors that should be triggered when invoking the provided proxy
method on the provided type, never null.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.