|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.hammurapi.convert.Mixer
public class Mixer
Mixes interfaces from multiple objects into one proxy.
| Constructor Summary | |
|---|---|
Mixer()
|
|
| Method Summary | |
|---|---|
static Object |
addInterceptors(Object master,
Object... interceptors)
Creates a proxy which routes invocations to master unless one of interceptors has a method with matching signature. |
static Object |
combine(Object[] objects,
Class<?>[] interfaces)
Creates a proxy which implements given interfaces and routes invocations to appropriate object. |
static Object |
mix(Object... objects)
Mixes interfaces from multiple objects into one proxy. |
static Object |
mixIn(Object object,
Class<?>... interfaces)
Mixes-in implementation of interfaces into class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Mixer()
| Method Detail |
|---|
public static Object mixIn(Object object,
Class<?>... interfaces)
object - interfaces -
public static Object addInterceptors(Object master,
Object... interceptors)
master - interceptors -
public static Object combine(Object[] objects,
Class<?>[] interfaces)
object - interfaces -
public static Object mix(Object... objects)
objects -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||