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 SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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_INTERFACESpublic static final int STYLE_INTERFACES- See Also:
 
- 
STYLE_BEANSpublic static final int STYLE_BEANS- See Also:
 
- 
STYLE_EVERYTHINGpublic static final int STYLE_EVERYTHING- See Also:
 
 
- 
- 
Constructor Details- 
Mixinpublic Mixin()
 
- 
- 
Method Details- 
newInstance
- 
createHelper method to create an interface mixin. For finer control over the generated instance, use a new instance ofMixininstead of this static method. TODO
- 
createHelper method to create an interface mixin. For finer control over the generated instance, use a new instance ofMixininstead of this static method. TODO
- 
createBean
- 
createBeanHelper method to create a bean mixin. For finer control over the generated instance, use a new instance ofMixininstead of this static method. TODO
- 
getClasses
 
-