Interface IPModeResolver

All Known Implementing Classes:
DefaultPModeResolver
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IPModeResolver
Resolve PMode from ID
Author:
Philip Helger
  • Method Details

    • getPModeOfID

      @Nullable IPMode getPModeOfID(@Nullable String sPModeID, @Nonnull String sService, @Nonnull String sAction, @Nonnull @Nonempty String sInitiatorID, @Nonnull @Nonempty String sResponderID, @Nullable String sAgreementRef, @Nullable String sAddress)
      Get the PMode of the passed ID.
      Parameters:
      sPModeID - The direct PMode ID to be resolved. May be null.
      sService - The service as specified in the EBMS CollaborationInformation. May not be null.
      sAction - The action as specified in the EBMS CollaborationInformation. May not be null.
      sInitiatorID - Initiator ID from user message
      sResponderID - Responder ID from user message
      sAgreementRef - The agreement reference from the user message. May be null.
      sAddress - Endpoint address
      Returns:
      null if resolution failed.