be.ehealth.businessconnector.ehbox.v3.service.impl

## Class PublicationServiceImpl

- java.lang.Object
- - be.ehealth.businessconnector.ehbox.v3.service.impl.PublicationServiceImpl

- All Implemented Interfaces:
    PublicationService, ConfigurationModuleBootstrap.ModuleBootstrapHook

      public class PublicationServiceImpl
      extends Object
      implements PublicationService, ConfigurationModuleBootstrap.ModuleBootstrapHook

  Implementation of `PublicationService`.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PublicationServiceImpl()` default constructor, needed for ModuleBootstrapHook
    `PublicationServiceImpl(SessionValidator sessionValidator, EhboxReplyValidator replyValidator)` Instantiates a new publication service impl.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `bootstrap()`
    `SendMessageResponse` | `sendMessage(SAMLToken token, SendMessageRequest request)` Send message.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PublicationServiceImpl

          public PublicationServiceImpl(SessionValidator sessionValidator,
                                        EhboxReplyValidator replyValidator)

      Instantiates a new publication service impl.
      Parameters:
        `sessionValidator` - the session validator
        `replyValidator` - the reply validator

    - #### PublicationServiceImpl

          public PublicationServiceImpl()

      default constructor, needed for ModuleBootstrapHook

  - ### Method Detail

    - #### sendMessage

          public final SendMessageResponse sendMessage(SAMLToken token,
                                                       SendMessageRequest request)
                                                throws ConnectorException

      Send message.
      Specified by:
        `sendMessage` in interface `PublicationService`
      Parameters:
        `token` - the token
        `request` - : sendMessageRequest the send message request
      Returns:
        the send message response
      Throws:
        `ConnectorException`
        `TechnicalConnectorException` - the technical connector exception
        `EhboxBusinessConnectorException` - the business connector exception
        `SessionManagementException`

    - #### bootstrap

          public void bootstrap()

      Specified by:
        `bootstrap` in interface `ConfigurationModuleBootstrap.ModuleBootstrapHook`

Connector Packaging PERSPHYSICIAN 4.9.5 API
Copyright © {inceptionYear}-2026 eHealth. All Rights Reserved.