|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.cglib.InterfaceMaker
Generates interfaces from a list of classes or methods. By passing a generated interface to the Enhancer's list of interfaces to implement, you can make your enhanced classes handle an arbitrary set of method signatures.
Method Summary | |
static java.lang.Class |
create(java.lang.Class[] classes,
java.lang.ClassLoader loader)
Create a interface consisting of all the public methods of the specified classes. |
static java.lang.Class |
create(java.lang.Class[] classes,
MethodFilter filter,
java.lang.ClassLoader loader)
Create a interface consisting of all the public methods of the specified classes. |
static java.lang.Class |
create(java.lang.reflect.Method[] methods,
java.lang.ClassLoader loader)
Create a interface consisting of all the specified methods. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.Class create(java.lang.Class[] classes, java.lang.ClassLoader loader)
classes
- the class arrayloader
- ClassLoader for enhanced class, uses "current" if nullpublic static java.lang.Class create(java.lang.Class[] classes, MethodFilter filter, java.lang.ClassLoader loader)
classes
- the class arrayfilter
- the MethodFilter used to limit which methods are generated in the interfaceloader
- ClassLoader for enhanced class, uses "current" if nullNotFromObjectFilter
public static java.lang.Class create(java.lang.reflect.Method[] methods, java.lang.ClassLoader loader)
methods
- the methods to generateloader
- ClassLoader for enhanced class, uses "current" if null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |