Class DynamicClassProxy

java.lang.Object
edu.internet2.middleware.grouper.plugins.DynamicClassProxy
All Implemented Interfaces:
net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor

public class DynamicClassProxy extends Object implements net.sf.cglib.proxy.MethodInterceptor
we have two classes from different classloaders, and we want to dynamically translate methods across
  • Constructor Details

    • DynamicClassProxy

      public DynamicClassProxy(Object providerService1)
      construct based on another class, catalog the methods
      Parameters:
      providerService1 -
  • Method Details

    • intercept

      public Object intercept(Object o, Method method, Object[] args, net.sf.cglib.proxy.MethodProxy methodProxy) throws Throwable
      intercept a method and delegate to the proxy
      Specified by:
      intercept in interface net.sf.cglib.proxy.MethodInterceptor
      Parameters:
      methodProxy -
      Throws:
      Throwable