Package com.helger.peppol.sml
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
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 Summary
Methods inherited from interface com.helger.commons.id.IHasID
getIDMethods inherited from interface com.helger.commons.type.IHasObjectType
getObjectType, getObjectTypeName, hasObjectType
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein interfacecom.helger.commons.name.IHasDisplayName- Returns:
- The "shorthand" display name like "SML" or "SMK".
-
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
- Returns:
- The DNS sub zone name that is used for SMP publishers. This is done
by prepending
CSMLDefault.DNS_PUBLISHER_SUBZONEto the DNS zone name - never starts with a dot! May not benull. This is only needed when the Peppol way of registration is used. - See Also:
-
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
- Returns:
- The service endpoint URL to manage SMP meta data. Never
null. This is usually the URL corresponding togetManagementServiceURL()+ "/" +CSMLDefault.MANAGEMENT_SERVICE_METADATA
-
getManageParticipantIdentifierEndpointAddress
- Returns:
- The service endpoint URL to manage participant identifiers. Never
null. This is usually the URL corresponding togetManagementServiceURL()+ "/" +CSMLDefault.MANAGEMENT_SERVICE_PARTICIPANTIDENTIFIER
-
isClientCertificateRequired
boolean isClientCertificateRequired()- Returns:
trueif this SML requires a client certificate for access,falseotherwise. Both PEPPOL production SML and SMK require a client certificate. Only a locally running SML software may not require a client certificate.
-