com.jp.protection.pub
Interface LicenseReaderIssueResolver

All Known Subinterfaces:
LicenseReaderIssueResolverExt
All Known Implementing Classes:
DefaultLicenseReaderIssueResolver, DefaultLicenseReaderIssueResolverPro, HeadlessLicenseReaderIssueResolver

public interface LicenseReaderIssueResolver

Defines "resolver" interface which introduces methods responsible for the resolving of the issues and conflicts occured during the license locating and reading.


Method Summary
 boolean resolveLicenseCorrupted(LicenseReader aSource)
           This method is responsible for resolving an issue when license is corrupted.
 boolean resolveLicenseMissing(LicenseReader aSource)
           This method is responsible for the resolving an issue when license is missing.
 

Method Detail

resolveLicenseMissing

boolean resolveLicenseMissing(LicenseReader aSource)

This method is responsible for the resolving an issue when license is missing. Implementation of this method should:

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 issue is resolved; false otherwise

resolveLicenseCorrupted

boolean resolveLicenseCorrupted(LicenseReader aSource)

This method is responsible for resolving an issue when license is corrupted. Implementation of this method should:

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 issue is resolved; false otherwise