public interface CommunicationPort
NotificationContext
objects are created from org.nuclos.api.provider.CommunicationProvider#newContextInstance(CommunicationPort, Class)
NotificationContext
classes can be found in package org.nuclos.api.context.communication
Modifier and Type | Method and Description |
---|---|
UID |
getId() |
<C extends RequestContext<?>> |
handleRequest(C context)
Nuclos calls this method only for the types your interface supports.
|
UID getId()
<C extends RequestContext<?>> void handleRequest(C context) throws BusinessException
RequestContext
during the registration
org.nuclos.api.communication.CommunicationInterface#register(org.nuclos.api.communication.CommunicationInterface.Registration)
Reponses
RequestContext.clearResponse()
creates a new RequestResponse
.
Send the complete context with response back to Nuclos via org.nuclos.api.provider.CommunicationProvider#handleNotification(NotificationContext)
when the request is processed, in a new state...context
- BusinessException
Copyright © 2024. All rights reserved.