Package org.springframework.cglib.beans
Class ImmutableBean.Generator
java.lang.Object
org.springframework.cglib.core.AbstractClassGenerator
org.springframework.cglib.beans.ImmutableBean.Generator
- All Implemented Interfaces:
- ClassGenerator
- Enclosing class:
- ImmutableBean
- 
Nested Class SummaryNested classes/interfaces inherited from class org.springframework.cglib.core.AbstractClassGeneratorAbstractClassGenerator.ClassLoaderData, AbstractClassGenerator.Source
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreate()protected ObjectfirstInstance(Class type) voidprotected ClassLoaderprotected ProtectionDomainReturns the protection domain to use when defining the class.protected ObjectnextInstance(Object instance) voidMethods inherited from class org.springframework.cglib.core.AbstractClassGeneratorcreate, generate, getAttemptLoad, getClassLoader, getClassName, getCurrent, getNamingPolicy, getStrategy, getUseCache, setAttemptLoad, setClassLoader, setContextClass, setNamePrefix, setNamingPolicy, setStrategy, setUseCache, unwrapCachedValue, wrapCachedClass
- 
Constructor Details- 
Generatorpublic Generator()
 
- 
- 
Method Details- 
setBean
- 
getDefaultClassLoader- Specified by:
- getDefaultClassLoaderin class- AbstractClassGenerator
 
- 
getProtectionDomainDescription copied from class:AbstractClassGeneratorReturns the protection domain to use when defining the class.Default implementation returns nullfor using a default protection domain. Sub-classes may override to use a more specific protection domain.- Overrides:
- getProtectionDomainin class- AbstractClassGenerator
- Returns:
- the protection domain (nullfor using a default)
 
- 
create
- 
generateClass
- 
firstInstance- Specified by:
- firstInstancein class- AbstractClassGenerator
 
- 
nextInstance- Specified by:
- nextInstancein class- AbstractClassGenerator
 
 
-