Class ResourceRegistrationLicenseService

  • All Implemented Interfaces:
    com.xebialabs.license.service.LicenseService

    public class ResourceRegistrationLicenseService
    extends AbstractResourceLicenseService
    implements com.xebialabs.license.service.LicenseService
    This service have to be used in the case when you want to allow to run the server without any license and redirect the user to the registration form.
    • Constructor Detail

      • ResourceRegistrationLicenseService

        public ResourceRegistrationLicenseService​(com.xebialabs.deployit.io.ConfigurationResource licenseResource,
                                                  java.lang.String product,
                                                  com.xebialabs.deployit.repository.RepositoryMetadataService repositoryMetadataService)
                                           throws com.xebialabs.license.LicenseParseException,
                                                  com.xebialabs.license.LicenseViolationException,
                                                  java.io.IOException
        Throws:
        com.xebialabs.license.LicenseParseException
        com.xebialabs.license.LicenseViolationException
        java.io.IOException
    • Method Detail

      • readLicense

        protected com.xebialabs.license.License readLicense​(com.xebialabs.deployit.io.ConfigurationResource licenseResource)
                                                     throws com.xebialabs.license.LicenseParseException,
                                                            com.xebialabs.license.LicenseViolationException
        Specified by:
        readLicense in class AbstractResourceLicenseService
        Throws:
        com.xebialabs.license.LicenseParseException
        com.xebialabs.license.LicenseViolationException