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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Mixin
Helper method to create an interface mixin.static Mixin
Helper method to create an interface mixin.static Mixin
createBean
(ClassLoader loader, Object[] beans) Helper method to create a bean mixin.static Mixin
createBean
(Object[] beans) static Class[]
getClasses
(Object[] delegates) abstract Mixin
newInstance
(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 ofMixin
instead of this static method. TODO -
create
Helper method to create an interface mixin. For finer control over the generated instance, use a new instance ofMixin
instead 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 ofMixin
instead of this static method. TODO -
getClasses
-