net.sf.cglib.beans
Class BulkBean.Generator

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

public static class BulkBean.Generator
extends AbstractClassGenerator


Nested Class Summary
 
Nested classes inherited from class net.sf.cglib.core.AbstractClassGenerator
AbstractClassGenerator.Source
 
Constructor Summary
BulkBean.Generator()
           
 
Method Summary
 BulkBean 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 setGetters(java.lang.String[] getters)
           
 void setSetters(java.lang.String[] setters)
           
 void setTarget(java.lang.Class target)
           
 void setTypes(java.lang.Class[] types)
           
 
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

BulkBean.Generator

public BulkBean.Generator()
Method Detail

setTarget

public void setTarget(java.lang.Class target)

setGetters

public void setGetters(java.lang.String[] getters)

setSetters

public void setSetters(java.lang.String[] setters)

setTypes

public void setTypes(java.lang.Class[] types)

getDefaultClassLoader

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

create

public BulkBean create()

generateClass

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

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


Copyright © 2002-2003 cglib. All Rights Reserved.