public interface CommunicationService
Modifier and Type | Method and Description |
---|---|
void |
executeRequest(RequestContext<?> context) |
void |
handleNotification(NotificationContext context) |
void |
handleResponse(RequestContext<?> context) |
<T extends InstantiableContext> |
newContextInstance(CommunicationPort port,
java.lang.Class<T> contextClass)
For internal use in ports.
|
<T extends InstantiableContext> |
newContextInstance(CommunicationPortKey portKey,
java.lang.Class<T> contextClass)
For use in rules.
|
void handleNotification(NotificationContext context) throws BusinessException
context
- BusinessException
void executeRequest(RequestContext<?> context) throws BusinessException
context
- BusinessException
void handleResponse(RequestContext<?> context) throws BusinessException
context
- BusinessException
<T extends InstantiableContext> T newContextInstance(CommunicationPortKey portKey, java.lang.Class<T> contextClass) throws BusinessException
portKey
- contextClass
- BusinessException
<T extends InstantiableContext> T newContextInstance(CommunicationPort port, java.lang.Class<T> contextClass) throws BusinessException
port
- contextClass
- BusinessException
Copyright © 2024. All rights reserved.