|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.skife.mixin.Mixer
Provides mixin facility for Java
| Constructor Summary | |
Mixer()
|
|
| Method Summary | |
void |
addMixin(java.lang.Class iface,
java.lang.Object impl)
Register a mixin with this Mixer so that all objects mixed after this mixin is added will also have this facility |
java.lang.Object |
mix(java.lang.Object base)
Add all of the registered mixins to an object, returning the mixed object |
| 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 java.lang.Object mix(java.lang.Object base)
base - object to add mixins too, is not actually modified
public void addMixin(java.lang.Class iface,
java.lang.Object impl)
iface - Interface to mix inimpl - Implementation of iface to delegate to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||