Class InterceptedProxyFactory<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    PrivilegedAction<T>

    public class InterceptedProxyFactory<T>
    extends ProxyFactory<T>
    Generates proxies used to apply interceptors to custom bean instances and return values of producer methods.
    Author:
    Martin Kouba, Matej Novotny
    See Also:
    InterceptionFactoryImpl
    • Method Detail

      • getProxyNameSuffix

        protected String getProxyNameSuffix()
        Description copied from class: ProxyFactory
        Returns a suffix to append to the name of the proxy class. The name already consists of _$$_Weld, to which the suffix is added. This allows the creation of different types of proxies for the same class.
        Overrides:
        getProxyNameSuffix in class ProxyFactory<T>
        Returns:
        a name suffix
      • addMethodsFromClass

        protected void addMethodsFromClass​(org.jboss.classfilewriter.ClassFile proxyClassType,
                                           org.jboss.classfilewriter.ClassMethod staticConstructor)
        Overrides:
        addMethodsFromClass in class ProxyFactory<T>