net.sf.cglib.reflect
Class MethodDelegate.Generator

java.lang.Object
  extended bynet.sf.cglib.core.AbstractClassGenerator
      extended bynet.sf.cglib.reflect.MethodDelegate.Generator
All Implemented Interfaces:
ClassGenerator
Enclosing class:
MethodDelegate

public static class MethodDelegate.Generator
extends AbstractClassGenerator


Nested Class Summary
 
Nested classes inherited from class net.sf.cglib.core.AbstractClassGenerator
AbstractClassGenerator.Source
 
Constructor Summary
MethodDelegate.Generator()
           
 
Method Summary
 MethodDelegate create()
           
protected  java.lang.Object firstInstance(java.lang.Class type)
           
 void generateClass(org.objectweb.asm.ClassVisitor v)
           
protected  java.lang.ClassLoader getDefaultClassLoader()
           
protected  java.lang.Object nextInstance(java.lang.Object instance)
           
 void setInterface(java.lang.Class iface)
           
 void setMethodName(java.lang.String methodName)
           
 void setTarget(java.lang.Object target)
           
 void setTargetClass(java.lang.Class targetClass)
           
 
Methods inherited from class net.sf.cglib.core.AbstractClassGenerator
create, getClassLoader, getClassName, setClassLoader, setNamePrefix, setNamingPolicy, setStrategy, setUseCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodDelegate.Generator

public MethodDelegate.Generator()
Method Detail

setTarget

public void setTarget(java.lang.Object target)

setTargetClass

public void setTargetClass(java.lang.Class targetClass)

setMethodName

public void setMethodName(java.lang.String methodName)

setInterface

public void setInterface(java.lang.Class iface)

getDefaultClassLoader

protected java.lang.ClassLoader getDefaultClassLoader()
Specified by:
getDefaultClassLoader in class AbstractClassGenerator

create

public MethodDelegate create()

firstInstance

protected java.lang.Object firstInstance(java.lang.Class type)
Specified by:
firstInstance in class AbstractClassGenerator

nextInstance

protected java.lang.Object nextInstance(java.lang.Object instance)
Specified by:
nextInstance in class AbstractClassGenerator

generateClass

public void generateClass(org.objectweb.asm.ClassVisitor v)
                   throws java.lang.NoSuchMethodException
Throws:
java.lang.NoSuchMethodException


Copyright © 2002-2003 cglib. All Rights Reserved.