Class GraphChangeHandlerDecorator
java.lang.Object
io.fluxzero.sdk.modeling.GraphChangeHandlerDecorator
Decorates event and notification handlers that observe complete graph changes.
Model parameter discovery and resolution belong to
EntityParameterResolver; this decorator only expands one
committed change into invocations for the affected current/previous graph pairs.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.fluxzero.common.handling.Handler<DeserializingMessage> wrapGraphChanges(io.fluxzero.common.handling.Handler<DeserializingMessage> handler, io.fluxzero.common.MessageType messageType) Wraps event and notification handlers whose sole argument observes complete graph changes.
-
Constructor Details
-
GraphChangeHandlerDecorator
public GraphChangeHandlerDecorator()
-
-
Method Details
-
wrapGraphChanges
public static io.fluxzero.common.handling.Handler<DeserializingMessage> wrapGraphChanges(io.fluxzero.common.handling.Handler<DeserializingMessage> handler, io.fluxzero.common.MessageType messageType) Wraps event and notification handlers whose sole argument observes complete graph changes.
-