类 Mixin

java.lang.Object
cn.taketoday.bytecode.proxy.Mixin

public abstract class Mixin extends 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 $
作者:
Chris Nokleberg
  • 字段详细资料

    • STYLE_INTERFACES

      public static final int STYLE_INTERFACES
      另请参阅:
    • STYLE_BEANS

      public static final int STYLE_BEANS
      另请参阅:
    • STYLE_EVERYTHING

      public static final int STYLE_EVERYTHING
      另请参阅:
  • 构造器详细资料

    • Mixin

      public Mixin()
  • 方法详细资料

    • newInstance

      public abstract Mixin newInstance(Object[] delegates)
    • 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.
    • 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.
    • createBean

      public static Mixin createBean(Object[] beans)
    • 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.
    • getClasses

      public static Class[] getClasses(Object[] delegates)