com.jp.protection.pub
Interface LicenseHostIssueResolver

All Known Implementing Classes:
DefaultLicenseHostIssueResolver, HeadlessLicenseHostIssueResolver

public interface LicenseHostIssueResolver

Defines "resolver" interface which introduces methods responsible for the resolving of the issues and conflicts occurring during the license checking.


Method Summary
 boolean resolveLicenseActivationLockViolation(LicenseHost aSource)
           This method is responsible for resolving an issue when license has been locked to a particular computer system but was moved to another computer system.
 boolean resolveLicenseCanNotBeUpgraded(LicenseHost aSource)
          This method is responsible for resolving an issue when upgrade license is invalid because no required license(s) of previous version was found
 boolean resolveLicenseExpired(LicenseHost aSource)
           This method is responsible for resolving an issue when license is expired.
 boolean resolveLicenseInvalid(LicenseHost aSource)
           This method is responsible for resolving an issue when license is invalid e.g.
 boolean resolveLicenseMissingActivation(LicenseHost aSource, java.lang.String aLicenseKey)
           This method is responsible for resolving an issue when license should be, but not yet activated.
 boolean resolveLicenseNotLocked(LicenseHost aSource)
          This method is responsible for resolving an issue when lock for the license could not be acquired using the Licensing Server.
 

Method Detail

resolveLicenseMissingActivation

boolean resolveLicenseMissingActivation(LicenseHost aSource,
                                        java.lang.String aLicenseKey)

This method is responsible for resolving an issue when license should be, but not yet activated. Implementation of this method should:

Usual implementation should execute remote call to some backend service knowledgeable of the proper licenses activation procedure.

Parameters:
aSource - identifies license host calling this method
aLicenseKey - a license key should be placed into a license
Returns:
boolean true if issue is resolved; false otherwise

resolveLicenseActivationLockViolation

boolean resolveLicenseActivationLockViolation(LicenseHost aSource)

This method is responsible for resolving an issue when license has been locked to a particular computer system but was moved to another computer system. Implementation of this method should:

Usual implementation should execute remote call to some backend service knowledgeable of the proper licenses activation procedure.

Parameters:
aSource - identifies license host calling this method
Returns:
boolean true if issue is resolved; false otherwise

resolveLicenseExpired

boolean resolveLicenseExpired(LicenseHost aSource)

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

Usual implementation should execute remote call to some backend service knowledgeable of the proper licenses activation procedure.

Parameters:
aSource - identifies license host calling this method
Returns:
boolean true if issue is resolved; false otherwise

resolveLicenseInvalid

boolean resolveLicenseInvalid(LicenseHost aSource)

This method is responsible for resolving an issue when license is invalid e.g. product or version is not match. Implementation of this method should:

Usual implementation should execute remote call to some backend service knowledgeable of the proper licenses activation procedure.

Parameters:
aSource - identifies license host calling this method
Returns:
boolean true if issue is resolved; false otherwise

resolveLicenseNotLocked

boolean resolveLicenseNotLocked(LicenseHost aSource)
This method is responsible for resolving an issue when lock for the license could not be acquired using the Licensing Server. Implementation of this method should take care of license lock acquiring e.g. by allowing the user to specify proper Licensing Server address or waiting for license lock availability.

Parameters:
aSource - identifies license host calling this method
Returns:
boolean true if issue is resolved; false otherwise
Since:
3.0

resolveLicenseCanNotBeUpgraded

boolean resolveLicenseCanNotBeUpgraded(LicenseHost aSource)
This method is responsible for resolving an issue when upgrade license is invalid because no required license(s) of previous version was found

Parameters:
aSource - identifies license host calling this method
Returns:
boolean true if issue is resolved; false otherwise
Since:
v5.0