public static class MethodRouter.DumbBuilder extends MethodRouter.Builder
afterForwarding, beforeForwarding, consumingFrom, producingTo| Constructor and Description |
|---|
DumbBuilder(Method methodFrom)
Construct a new MethodRouter Builder.
|
| Modifier and Type | Method and Description |
|---|---|
MethodRouter |
build(Class<?> classFrom,
Class<?> classTo) |
MethodRouter.Builder |
to(Method methodTo)
Sets the name of the destination method.
|
public DumbBuilder(Method methodFrom)
methodFrom - The exposed interface's method from which this is routing.public MethodRouter.Builder to(Method methodTo)
methodTo - The name of the adapted instance's method to which this is routing.public MethodRouter build(Class<?> classFrom, Class<?> classTo) throws NoSuchMethodException, AdapterException
build in class MethodRouter.BuilderNoSuchMethodExceptionAdapterExceptionCopyright © 2020 shadow-invoke. All rights reserved.