Top Inners Fields Constructors Methods
org.springframework.cglib.beans

public abstract Class BulkBean

extends Object
Class Inheritance
Annotations
@SuppressWarnings:rawtypes, unchecked
Imports
java.security.ProtectionDomain, org.springframework.asm.ClassVisitor, org.springframework.cglib.core.AbstractClassGenerator, .KeyFactory, .ReflectUtils

Author
Juozas Baliuka

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static interface
public static class

Field Summary

Modifier and TypeField and Description
protected String[]
private static final BulkBean.BulkBeanKey
protected String[]
protected Class<T>
protected Class<T>[]

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static BulkBean
create(Class<T> target, String[] getters, String[] setters, Class<T>[] types)

public String[]
public Class<T>[]
public abstract void
public Object[]
public String[]
public abstract void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

gettersback to summary
protected String[] getters
KEY_FACTORYback to summary
private static final BulkBean.BulkBeanKey KEY_FACTORY
settersback to summary
protected String[] setters
targetback to summary
protected Class<T> target
typesback to summary
protected Class<T>[] types

Constructor Detail

BulkBeanback to summary
protected BulkBean()

Method Detail

createback to summary
public static BulkBean create(Class<T> target, String[] getters, String[] setters, Class<T>[] types)
getGettersback to summary
public String[] getGetters()
getPropertyTypesback to summary
public Class<T>[] getPropertyTypes()
getPropertyValuesback to summary
public abstract void getPropertyValues(Object bean, Object[] values)
getPropertyValuesback to summary
public Object[] getPropertyValues(Object bean)
getSettersback to summary
public String[] getSetters()
setPropertyValuesback to summary
public abstract void setPropertyValues(Object bean, Object[] values)
org.springframework.cglib.beans back to summary

pack-priv Interface BulkBean.BulkBeanKey


Method Summary

Modifier and TypeMethod and Description
public Object
newInstance(String target, String[] getters, String[] setters, String[] types)

Method Detail

newInstanceback to summary
public Object newInstance(String target, String[] getters, String[] setters, String[] types)
org.springframework.cglib.beans back to summary

public Class BulkBean.Generator

extends AbstractClassGenerator
Class Inheritance

Field Summary

Modifier and TypeField and Description
private String[]
private String[]
private static final AbstractClassGenerator.Source
private Class<T>
private Class<T>[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public BulkBean
protected Object
public void
protected ClassLoader
protected ProtectionDomain
getProtectionDomain()

Overrides org.springframework.cglib.core.AbstractClassGenerator.getProtectionDomain.

Returns the protection domain to use when defining the class.

protected Object
public void
setGetters(String[] getters)

public void
setSetters(String[] setters)

public void
setTarget(Class<T> target)

public void
setTypes(Class<T>[] types)

Inherited from org.springframework.cglib.core.AbstractClassGenerator:
creategenerategetAttemptLoadgetClassLoadergetClassNamegetCurrentgetNamingPolicygetStrategygetUseCachesetAttemptLoadsetClassLoadersetContextClasssetNamePrefixsetNamingPolicysetStrategysetUseCacheunwrapCachedValuewrapCachedClass

Field Detail

gettersback to summary
private String[] getters
settersback to summary
private String[] setters
SOURCEback to summary
private static final AbstractClassGenerator.Source SOURCE
targetback to summary
private Class<T> target
typesback to summary
private Class<T>[] types

Constructor Detail

Generatorback to summary
public Generator()

Method Detail

createback to summary
public BulkBean create()
firstInstanceback to summary
protected Object firstInstance(Class<T> type)

Implements abstract org.springframework.cglib.core.AbstractClassGenerator.firstInstance.

Annotations
@Override
generateClassback to summary
public void generateClass(ClassVisitor v) throws Exception

Implements org.springframework.cglib.core.ClassGenerator.generateClass.

Annotations
@Override
getDefaultClassLoaderback to summary
protected ClassLoader getDefaultClassLoader()

Implements abstract org.springframework.cglib.core.AbstractClassGenerator.getDefaultClassLoader.

Annotations
@Override
getProtectionDomainback to summary
protected ProtectionDomain getProtectionDomain()

Overrides org.springframework.cglib.core.AbstractClassGenerator.getProtectionDomain.

Doc from org.springframework.cglib.core.AbstractClassGenerator.getProtectionDomain.

Returns the protection domain to use when defining the class.

Default implementation returns null for using a default protection domain. Sub-classes may override to use a more specific protection domain.

Returns:ProtectionDomain

the protection domain (null for using a default)

Annotations
@Override
nextInstanceback to summary
protected Object nextInstance(Object instance)

Implements abstract org.springframework.cglib.core.AbstractClassGenerator.nextInstance.

Annotations
@Override
setGettersback to summary
public void setGetters(String[] getters)
setSettersback to summary
public void setSetters(String[] setters)
setTargetback to summary
public void setTarget(Class<T> target)
setTypesback to summary
public void setTypes(Class<T>[] types)