Class ProxyFactoryFactoryImpl

    • Method Detail

      • buildBasicProxyFactory

        @Deprecated
        public BasicProxyFactory buildBasicProxyFactory​(Class superClass,
                                                        Class[] interfaces)
        Deprecated.
        Description copied from interface: ProxyFactoryFactory
        Build a proxy factory for basic proxy concerns. The return should be capable of properly handling newInstance() calls.

        Should build basic proxies essentially equivalent to JDK proxies in terms of capabilities, but should be able to deal with abstract super classes in addition to proxy interfaces.

        Must pass in either superClass or interfaces (or both).

        Specified by:
        buildBasicProxyFactory in interface ProxyFactoryFactory
        Parameters:
        superClass - The abstract super class (or null if none).
        interfaces - Interfaces to be proxied (or null if none).
        Returns:
        The proxy class
      • buildBasicProxyFactory

        public BasicProxyFactory buildBasicProxyFactory​(Class superClassOrInterface)
        Description copied from interface: ProxyFactoryFactory
        Build a proxy factory for basic proxy concerns. The return should be capable of properly handling newInstance() calls.

        Should build basic proxies essentially equivalent to JDK proxies in terms of capabilities, but should be able to deal with abstract super classes in addition to proxy interfaces.

        Must pass in either a superClass or an interface.

        Specified by:
        buildBasicProxyFactory in interface ProxyFactoryFactory
        Parameters:
        superClassOrInterface - The abstract super class, or the interface to be proxied.
        Returns:
        The proxy class