|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.dynamicdispatch.DispatcherFactory
net.sourceforge.dynamicdispatch.bytecode.ByteCodeDispatcherFactory
This factory generates a new dispatcher class on the fly (dynamically defines the class in byte code). Requires the Byte Code Engineering Library (BCEL) in the CLASSPATH.
| Field Summary |
| Fields inherited from class net.sourceforge.dynamicdispatch.DispatcherFactory |
METHODNAME |
| Constructor Summary | |
ByteCodeDispatcherFactory()
|
|
| Method Summary | |
Dispatcher |
createDispatcher(java.lang.Object receiver)
Create a dispatcher object for receiver whose
"dispatch" method is dispatching to all methods named
METHODNAME. |
Dispatcher |
createDispatcher(java.lang.Object receiver,
java.lang.String method)
Create a dispatcher object for receiver whose
"dispatch" method is dispatching to all methods named
method. |
| Methods inherited from class net.sourceforge.dynamicdispatch.DispatcherFactory |
createDefaultDispatcher, createDefaultDispatcher, setDefaultFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ByteCodeDispatcherFactory()
| Method Detail |
public Dispatcher createDispatcher(java.lang.Object receiver)
receiver whose
"dispatch" method is dispatching to all methods named
METHODNAME.
createDispatcher in class DispatcherFactory
public Dispatcher createDispatcher(java.lang.Object receiver,
java.lang.String method)
receiver whose
"dispatch" method is dispatching to all methods named
method.
createDispatcher in class DispatcherFactory
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||