Package 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
  Description
  `PublicationServiceImpl()`
  default constructor, needed for ModuleBootstrapHook
  `PublicationServiceImpl(SessionValidator sessionValidator, EhboxReplyValidator replyValidator)`
  Instantiates a new publication service impl.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `bootstrap()`
  `final 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 Details

  - ### 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 Details

  - ### 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`

  - ### bootstrap

    public void bootstrap()
    Specified by:
      `bootstrap` in interface `ConfigurationModuleBootstrap.ModuleBootstrapHook`