Interface ISMLInfo

All Superinterfaces:
com.helger.commons.name.IHasDisplayName, com.helger.commons.id.IHasID<String>, com.helger.commons.type.IHasObjectType, com.helger.commons.type.ITypedObject<String>, Serializable
All Known Implementing Classes:
ESML, SMLInfo

public interface ISMLInfo extends com.helger.commons.type.ITypedObject<String>, com.helger.commons.name.IHasDisplayName, Serializable
Specifies the different properties an SML implementation uses. A set of predefined SML information can be found at ESML whereas a generic implementation can be found at SMLInfo.
Author:
Philip Helger
  • Method Details

    • getDisplayName

      @Nonnull @Nonempty String getDisplayName()
      Specified by:
      getDisplayName in interface com.helger.commons.name.IHasDisplayName
      Returns:
      The "shorthand" display name like "SML" or "SMK".
    • getDNSZone

      @Nonnull @Nonempty String getDNSZone()
      Returns:
      The DNS zone on which this SML is operating. Never null. It must be ensured that the value consists only of lower case characters!
      Example: sml.peppolcentral.org
    • getPublisherDNSZone

      @Nonnull @Nonempty default String getPublisherDNSZone()
      Returns:
      The DNS sub zone name that is used for SMP publishers. This is done by prepending CSMLDefault.DNS_PUBLISHER_SUBZONE to the DNS zone name - never starts with a dot! May not be null. This is only needed when the Peppol way of registration is used.
      See Also:
    • getManagementServiceURL

      @Nonnull @Nonempty String getManagementServiceURL()
      Returns:
      The service URL where the management application is running on including the host name. Never null. The difference to the host name is the eventually present context path. This path may never end with a slash.
    • getManageServiceMetaDataEndpointAddress

      @Nonnull URL getManageServiceMetaDataEndpointAddress()
      Returns:
      The service endpoint URL to manage SMP meta data. Never null. This is usually the URL corresponding to getManagementServiceURL() + "/" + CSMLDefault.MANAGEMENT_SERVICE_METADATA
    • getManageParticipantIdentifierEndpointAddress

      @Nonnull URL getManageParticipantIdentifierEndpointAddress()
      Returns:
      The service endpoint URL to manage participant identifiers. Never null. This is usually the URL corresponding to getManagementServiceURL() + "/" + CSMLDefault.MANAGEMENT_SERVICE_PARTICIPANTIDENTIFIER
    • isClientCertificateRequired

      boolean isClientCertificateRequired()
      Returns:
      true if this SML requires a client certificate for access, false otherwise. Both PEPPOL production SML and SMK require a client certificate. Only a locally running SML software may not require a client certificate.