Class ProxyFrameworkImpl

  • All Implemented Interfaces:
    ProxyFramework

    public class ProxyFrameworkImpl
    extends java.lang.Object
    implements ProxyFramework
    CGLib proxy framework setup.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getUnproxiedType​(java.lang.Class<?> type)
      Check if the class is a proxy and if it is return the unproxied type.
      boolean isProxy​(java.lang.Class<?> type)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProxyFrameworkImpl

        public ProxyFrameworkImpl()
    • Method Detail

      • getUnproxiedType

        public java.lang.Class<?> getUnproxiedType​(java.lang.Class<?> type)
        Check if the class is a proxy and if it is return the unproxied type.
        Specified by:
        getUnproxiedType in interface ProxyFramework
        Parameters:
        type - The class to check.
        Returns:
        The unproxied class type.
      • isProxy

        public boolean isProxy​(java.lang.Class<?> type)
        Specified by:
        isProxy in interface ProxyFramework
        Returns:
        true if type is a proxy, false otherwise.