public class SpringNamingPolicy
extends org.springframework.cglib.core.DefaultNamingPolicy
DefaultNamingPolicy
, modifying
the tag in generated class names from "ByCGLIB" to "BySpringCGLIB".
This is primarily designed to avoid clashes between a regular CGLIB version (used by some other library) and Spring's embedded variant, in case the same class happens to get proxied for different purposes.
Modifier and Type | Field and Description |
---|---|
static SpringNamingPolicy |
INSTANCE |
Constructor and Description |
---|
SpringNamingPolicy() |
Modifier and Type | Method and Description |
---|---|
protected String |
getTag() |
public static final SpringNamingPolicy INSTANCE
protected String getTag()
getTag
in class org.springframework.cglib.core.DefaultNamingPolicy