类 Mixin
- java.lang.Object
-
- net.sf.cglib.proxy.Mixin
-
public abstract class Mixin extends java.lang.ObjectMixinallows 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 $
- 作者:
- Chris Nokleberg
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classMixin.Generator
-
字段概要
字段 修饰符和类型 字段 说明 static intSTYLE_BEANSstatic intSTYLE_EVERYTHINGstatic intSTYLE_INTERFACES
-
构造器概要
构造器 构造器 说明 Mixin()
-
方法概要
所有方法 静态方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 static Mixincreate(java.lang.Class[] interfaces, java.lang.Object[] delegates)Helper method to create an interface mixin.static Mixincreate(java.lang.Object[] delegates)Helper method to create an interface mixin.static MixincreateBean(java.lang.ClassLoader loader, java.lang.Object[] beans)Helper method to create a bean mixin.static MixincreateBean(java.lang.Object[] beans)static java.lang.Class[]getClasses(java.lang.Object[] delegates)abstract MixinnewInstance(java.lang.Object[] delegates)
-
-
-
方法详细资料
-
newInstance
public abstract Mixin newInstance(java.lang.Object[] delegates)
-
create
public static Mixin create(java.lang.Object[] delegates)
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
public static Mixin create(java.lang.Class[] interfaces, java.lang.Object[] delegates)
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
public static Mixin createBean(java.lang.Object[] beans)
-
createBean
public static Mixin createBean(java.lang.ClassLoader loader, java.lang.Object[] beans)
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
public static java.lang.Class[] getClasses(java.lang.Object[] delegates)
-
-