Package net.sf.cglib.proxy
Class Mixin
java.lang.Object
net.sf.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.- Version:
- $Id: Mixin.java,v 1.7 2005/09/27 11:42:27 baliuka Exp $
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class(package private) static interfaceprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Mixin.MixinKeyprivate static final Mapstatic 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) private static Mixin.Route
-
Field Details
-
KEY_FACTORY
-
ROUTE_CACHE
-
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
-
route
-