Top Description Fields Constructors Methods
org.springframework.aop.framework

pack-priv Class ObjenesisCglibAopProxy

extends CglibAopProxy
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
java.lang.reflect.Constructor, org.apache.commons.logging.Log, .LogFactory, org.springframework.cglib.proxy.Callback, .Enhancer, .Factory, org.springframework.objenesis.SpringObjenesis, org.springframework.util.ReflectionUtils

Objenesis-based extension of CglibAopProxy to create proxy instances without invoking the constructor of the class. Used by default as of Spring 4.
Authors
Oliver Gierke, Juergen Hoeller
Since
4.0

Field Summary

Modifier and TypeField and Description
private static final Log
private static final SpringObjenesis
Inherited from org.springframework.aop.framework.CglibAopProxy:
advisedconstructorArgsconstructorArgTypes

Constructor Summary

AccessConstructor and Description
public
ObjenesisCglibAopProxy(AdvisedSupport
the AOP configuration as AdvisedSupport object
config
)

Create a new ObjenesisCglibAopProxy for the given AOP configuration.

Method Summary

Modifier and TypeMethod and Description
protected Class<?>
protected Object
Inherited from org.springframework.aop.framework.CglibAopProxy:
createEnhancerequalsgetProxygetProxygetProxyClasshashCodesetConstructorArguments

Field Detail

loggerback to summary
private static final Log logger

Hides org.springframework.aop.framework.CglibAopProxy.logger.

objenesisback to summary
private static final SpringObjenesis objenesis

Constructor Detail

ObjenesisCglibAopProxyback to summary
public ObjenesisCglibAopProxy(AdvisedSupport config)

Create a new ObjenesisCglibAopProxy for the given AOP configuration.

Parameters
config:AdvisedSupport

the AOP configuration as AdvisedSupport object

Method Detail

createProxyClassback to summary
protected Class<?> createProxyClass(Enhancer enhancer)

Overrides org.springframework.aop.framework.CglibAopProxy.createProxyClass.

Annotations
@Override
createProxyClassAndInstanceback to summary
protected Object createProxyClassAndInstance(Enhancer enhancer, Callback[] callbacks)

Overrides org.springframework.aop.framework.CglibAopProxy.createProxyClassAndInstance.

Annotations
@Override