com.jp.protection.pub
Interface LicenseReaderIssueResolverExt
- All Superinterfaces:
- LicenseReaderIssueResolver
- All Known Implementing Classes:
- DefaultLicenseReaderIssueResolver, DefaultLicenseReaderIssueResolverPro, HeadlessLicenseReaderIssueResolver
public interface LicenseReaderIssueResolverExt
- extends LicenseReaderIssueResolver
Defines extended "resolver" interface which introduces methods responsible for the resolving of the issues and conflicts
occured during the license locating and reading. This interface add a new updateLicense
method.
- Since:
- v4.8
Method Summary |
boolean |
updateLicense(LicenseReader aSource)
This method is responsible for updating a license to keep it up-to-date. |
updateLicense
boolean updateLicense(LicenseReader aSource)
This method is responsible for updating a license to keep it up-to-date.
Implementation of this method should:
- check for existense of a new license
- download a new license (if any) or remove existing license if license is not availabel anymore
- save the license to a file specified by the license reader
Usual implementation should execute remote call to some backend service knowledgeable of
the proper licenses generation procedure.
- Parameters:
aSource
- identifies the license reader calling this method
- Returns:
true
if license has been updated or removed; false
otherwise- Since:
- v4.8