Package io.fluxcapacitor.common.handling
Class Handler.DelegatingHandler<M>
java.lang.Object
io.fluxcapacitor.common.handling.Handler.DelegatingHandler<M>
- Type Parameters:
M
- the message type
- All Implemented Interfaces:
Handler<M>
Abstract base class for
Handler
implementations that delegate to another handler.
This is useful for decorating or extending handler behavior while preserving its target class and delegation logic.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.fluxcapacitor.common.handling.Handler
Handler.DelegatingHandler<M>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.fluxcapacitor.common.handling.Handler
getInvoker, or
-
Field Details
-
delegate
-
-
Constructor Details
-
DelegatingHandler
public DelegatingHandler()
-
-
Method Details
-
getTargetClass
Description copied from interface:Handler
Returns the class of the handler's target object. This may be used for reflective operations, logging, or framework-level behavior.- Specified by:
getTargetClass
in interfaceHandler<M>
- Returns:
- the class of the handler's target
-