Package org.springframework.cglib.proxy
Class Mixin
java.lang.Object
org.springframework.cglib.proxy.Mixin
Mixin allows
 multiple objects to be combined into a single larger object. The
 methods in the generated object simply call the original methods in the
 underlying "delegate" objects.- Author:
 - Chris Nokleberg
 
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic MixinHelper method to create an interface mixin.static MixinHelper method to create an interface mixin.static MixincreateBean(ClassLoader loader, Object[] beans) Helper method to create a bean mixin.static MixincreateBean(Object[] beans) static Class[]getClasses(Object[] delegates) abstract MixinnewInstance(Object[] delegates)  
- 
Field Details
- 
STYLE_INTERFACES
public static final int STYLE_INTERFACES- See Also:
 
 - 
STYLE_BEANS
public static final int STYLE_BEANS- See Also:
 
 - 
STYLE_EVERYTHING
public static final int STYLE_EVERYTHING- See Also:
 
 
 - 
 - 
Constructor Details
- 
Mixin
public Mixin() 
 - 
 - 
Method Details
- 
newInstance
 - 
create
Helper method to create an interface mixin. For finer control over the generated instance, use a new instance ofMixininstead of this static method. TODO - 
create
Helper method to create an interface mixin. For finer control over the generated instance, use a new instance ofMixininstead of this static method. TODO - 
createBean
 - 
createBean
Helper method to create a bean mixin. For finer control over the generated instance, use a new instance ofMixininstead of this static method. TODO - 
getClasses
 
 -