com.jp.protection.pub
Interface LicenseReaderListenerExt

All Superinterfaces:
java.util.EventListener, LicenseReaderListener
All Known Subinterfaces:
LicenseListener
All Known Implementing Classes:
DefaultLicenseAdapter, LicenseAdapter, LicensingServiceSupport

public interface LicenseReaderListenerExt
extends LicenseReaderListener

This interface represents extended listener that allows obtaining various information about the license reading process and its result. It adds new licenseRemoved and licenseUpdated methods.

Since:
v4.8
See Also:
LicenseReader

Method Summary
 void licenseRemoved(LicenseReader aSource, java.lang.String aLicenseLocation)
          License reader calls this method to notify listener that the license was removed beacuse it was revoked or not available anymore e.g.
 void licenseUpdated(LicenseReader aSource, java.lang.String aLicenseLocation)
          License reader calls this method to notify listener that the license was updated by getting up-to-date version from a remote service such as from Licensing Server
 
Methods inherited from interface com.jp.protection.pub.LicenseReaderListener
licenseAboutToRead, licenseAvailable, licenseCorrupted, licenseMissing
 

Method Detail

licenseRemoved

void licenseRemoved(LicenseReader aSource,
                    java.lang.String aLicenseLocation)
License reader calls this method to notify listener that the license was removed beacuse it was revoked or not available anymore e.g. user allocation was changed in Licensing Server

Parameters:
aSource - the license reader.
aLicenseLocation - license location
Since:
v4.8

licenseUpdated

void licenseUpdated(LicenseReader aSource,
                    java.lang.String aLicenseLocation)
License reader calls this method to notify listener that the license was updated by getting up-to-date version from a remote service such as from Licensing Server

Parameters:
aSource - the license reader.
aLicenseLocation - license location
Since:
v4.8