D
- the type of the Dispatch
payloadpublic class DispatchContext<D extends Dispatch> extends Object
DispatchHandler
defined under DispatchHandlers
Modifier and Type | Method and Description |
---|---|
D |
getDispatch() |
ServiceMediator |
getServiceMediator() |
static <D extends Dispatch> |
of(D dispatch,
ServiceMediator serviceMediator) |
public static <D extends Dispatch> DispatchContext<D> of(D dispatch, ServiceMediator serviceMediator)
public D getDispatch()
public ServiceMediator getServiceMediator()