net.sf.cglib
Class Mixin

java.lang.Object
  extended bynet.sf.cglib.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.

Version:
$Id: Mixin.java,v 1.14 2003/10/03 23:09:29 herbyderby Exp $
Author:
Chris Nokleberg

Nested Class Summary
static class Mixin.Generator
           
 
Constructor Summary
Mixin()
           
 
Method Summary
static Mixin create(java.lang.Class[] interfaces, java.lang.Object[] delegates)
           
static Mixin create(java.lang.Object[] delegates)
           
static Mixin createBean(java.lang.Object[] beans)
           
static java.lang.Class[] getClasses(java.lang.Object[] delegates)
           
static int[] getRoute(java.lang.Object[] delegates)
           
abstract  Mixin newInstance(java.lang.Object[] delegates)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mixin

public Mixin()
Method Detail

newInstance

public abstract Mixin newInstance(java.lang.Object[] delegates)

create

public static Mixin create(java.lang.Object[] delegates)

create

public static Mixin create(java.lang.Class[] interfaces,
                           java.lang.Object[] delegates)

createBean

public static Mixin createBean(java.lang.Object[] beans)

getClasses

public static java.lang.Class[] getClasses(java.lang.Object[] delegates)

getRoute

public static int[] getRoute(java.lang.Object[] delegates)


Copyright © 2002-2003 cglib. All Rights Reserved.