net.sf.cglib.proxy
Class Mixin
public abstract class Mixin
extends java.lang.Object
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.
$Id: Mixin.java,v 1.7 2005/09/27 11:42:27 baliuka Exp $
static Mixin | create(Class[] interfaces, Object[] delegates) - Helper method to create an interface mixin.
|
static Mixin | create(Object[] delegates) - 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)
|
STYLE_BEANS
public static final int STYLE_BEANS
STYLE_EVERYTHING
public static final int STYLE_EVERYTHING
STYLE_INTERFACES
public static final int STYLE_INTERFACES
create
public static Mixin create(Class[] interfaces,
Object[] delegates)
Helper method to create an interface mixin. For finer control over the
generated instance, use a new instance of Mixin
instead of this static method.
TODO
create
public static Mixin create(Object[] delegates)
Helper method to create an interface mixin. For finer control over the
generated instance, use a new instance of Mixin
instead of this static method.
TODO
createBean
public static Mixin createBean(ClassLoader loader,
Object[] beans)
Helper method to create a bean mixin. For finer control over the
generated instance, use a new instance of Mixin
instead of this static method.
TODO
createBean
public static Mixin createBean(Object[] beans)
getClasses
public static Class[] getClasses(Object[] delegates)
newInstance
public abstract Mixin newInstance(Object[] delegates)
Copyright (c) 2001 - Apache Software Foundation