com.mockrunner.struts
Class DynamicMockProxyGenerator

java.lang.Object
  extended by com.mockrunner.struts.DynamicMockProxyGenerator

public class DynamicMockProxyGenerator
extends java.lang.Object

Helper class to generate CGLib proxies. Not meant for application use.


Constructor Summary
DynamicMockProxyGenerator(java.lang.Class proxiedClass, java.lang.Object delegate, java.lang.reflect.Method[] methodsToIntercept, java.lang.reflect.Method[] methodsToDuplicate)
           
DynamicMockProxyGenerator(java.lang.Class proxiedClass, java.lang.Object delegate, java.lang.reflect.Method[] methodsToIntercept, java.lang.reflect.Method[] methodsToDuplicate, java.lang.Class additionalInterface)
           
 
Method Summary
 java.lang.Object createProxy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicMockProxyGenerator

public DynamicMockProxyGenerator(java.lang.Class proxiedClass,
                                 java.lang.Object delegate,
                                 java.lang.reflect.Method[] methodsToIntercept,
                                 java.lang.reflect.Method[] methodsToDuplicate)

DynamicMockProxyGenerator

public DynamicMockProxyGenerator(java.lang.Class proxiedClass,
                                 java.lang.Object delegate,
                                 java.lang.reflect.Method[] methodsToIntercept,
                                 java.lang.reflect.Method[] methodsToDuplicate,
                                 java.lang.Class additionalInterface)
Method Detail

createProxy

public java.lang.Object createProxy()