Annotation Type Pipe
-
@Documented @Retention(RUNTIME) @Target(PARAMETER) public @interface PipeA target method parameter that is annotated with this annotation allows to forward an intercepted method invocation to another instance. The instance to which a method call is forwarded must be of the most specific type that declares the intercepted method on the intercepted type.
Unfortunately, before Java 8, the Java Class Library does not define any interface type which takes a single
Objecttype and returns anotherObjecttype. For this reason, aPipe.Binderneeds to be installed explicitly and registered on aMethodDelegation. The installed type is allowed to be an interface without any super types that declares a single method which maps anObjecttype to a anotherObjecttype as a result value. It is however not prohibited to use generics in the process.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanserializableProxyDetermines if the generated proxy should beSerializable.
-