|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omnaest.utils.proxy.StubCreator
public class StubCreator
Simple stub creator.
| Nested Class Summary | |
|---|---|
static interface |
StubCreator.MethodInvocationHandler
Handles a method invocation. |
| Constructor Summary | |
|---|---|
StubCreator()
|
|
| Method Summary | ||
|---|---|---|
static
|
newStubInstance(Class<? extends E> clazz,
Class<?>[] interfaces,
net.sf.cglib.proxy.MethodInterceptor methodInterceptor)
Returns a new proxy stub for the given class or interface but takes additional interfaces. |
|
static
|
newStubInstance(Class<? extends E> clazz,
Class<?>[] interfaces,
StubCreator.MethodInvocationHandler methodInvocationHandler)
Same as newStubInstance(Class, Class[], MethodInterceptor) but uses a StubCreator.MethodInvocationHandler instead. |
|
static
|
newStubInstance(Class<? extends E> clazz,
net.sf.cglib.proxy.MethodInterceptor methodInterceptor)
|
|
static
|
newStubInstance(Class<? extends E> clazz,
StubCreator.MethodInvocationHandler methodInvocationHandler)
Returns a new proxy stub for the given class or interface. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StubCreator()
| Method Detail |
|---|
public static <E> E newStubInstance(Class<? extends E> clazz,
StubCreator.MethodInvocationHandler methodInvocationHandler)
E - clazz - methodInvocationHandler -
public static <E> E newStubInstance(Class<? extends E> clazz,
net.sf.cglib.proxy.MethodInterceptor methodInterceptor)
public static <E> E newStubInstance(Class<? extends E> clazz,
Class<?>[] interfaces,
StubCreator.MethodInvocationHandler methodInvocationHandler)
newStubInstance(Class, Class[], MethodInterceptor) but uses a StubCreator.MethodInvocationHandler instead.
E - clazz - interfaces - methodInvocationHandler -
public static <E> E newStubInstance(Class<? extends E> clazz,
Class<?>[] interfaces,
net.sf.cglib.proxy.MethodInterceptor methodInterceptor)
E - clazz - interfaces - methodInterceptor -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||