Class RegistrationLicenseService

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

public class RegistrationLicenseService extends AbstractLicenseService 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 Details

    • RegistrationLicenseService

      public RegistrationLicenseService(String licensePath, String product, com.xebialabs.deployit.repository.RepositoryMetadataService repositoryMetadataService) throws com.xebialabs.license.LicenseParseException, com.xebialabs.license.LicenseViolationException
      Throws:
      com.xebialabs.license.LicenseParseException
      com.xebialabs.license.LicenseViolationException
  • Method Details

    • readLicense

      protected com.xebialabs.license.License readLicense(File licenseFile) throws com.xebialabs.license.LicenseParseException, com.xebialabs.license.LicenseViolationException
      Specified by:
      readLicense in class AbstractLicenseService
      Throws:
      com.xebialabs.license.LicenseParseException
      com.xebialabs.license.LicenseViolationException