com.jp.protection.pub.pro.ls
Interface LicenseStorageListener

All Superinterfaces:
java.util.EventListener

public interface LicenseStorageListener
extends java.util.EventListener

Defines listener to allow listening various LicenseStorage events

Since:
3.0

Method Summary
 void beforeLicenseStorageLoad(LicenseStorage aSource)
          This method is called to notify the listener that the license storage is about to be loaded
 void beforeLicenseStorageSave(LicenseStorage aSource)
          This method is called to notify the listener the that license storage is about to be saved
 void licenseEntryAdded(LicenseStorage aSource, LicenseStorage.LicenseEntry aLicenseEntry)
          This method is called to notify the listener that a new license entry has been added into the storage
 void licenseEntryRemoved(LicenseStorage aSource, LicenseStorage.LicenseEntry aLicenseEntry)
          This method is called to notify the listener that the license entry has been removed from the storage
 void licenseEntryUpdated(LicenseStorage aSource, LicenseStorage.LicenseEntry aLicenseEntry)
          This method is called to notify the listener that the license entry has been updated
 void licenseStorageLoaded(LicenseStorage aSource, boolean isSuccess)
          This method is called to notify the listener that the license storage has been loaded
 void licenseStorageSaved(LicenseStorage aSource, boolean isSuccess)
          This method is called to notify the listener that the license storage has been saved
 

Method Detail

licenseEntryAdded

void licenseEntryAdded(LicenseStorage aSource,
                       LicenseStorage.LicenseEntry aLicenseEntry)
This method is called to notify the listener that a new license entry has been added into the storage

Parameters:
aSource - license storage
aLicenseEntry - added license entry

licenseEntryUpdated

void licenseEntryUpdated(LicenseStorage aSource,
                         LicenseStorage.LicenseEntry aLicenseEntry)
This method is called to notify the listener that the license entry has been updated

Parameters:
aSource - license storage
aLicenseEntry - added license entry

licenseEntryRemoved

void licenseEntryRemoved(LicenseStorage aSource,
                         LicenseStorage.LicenseEntry aLicenseEntry)
This method is called to notify the listener that the license entry has been removed from the storage

Parameters:
aSource - license storage
aLicenseEntry - added license entry

beforeLicenseStorageLoad

void beforeLicenseStorageLoad(LicenseStorage aSource)
This method is called to notify the listener that the license storage is about to be loaded

Parameters:
aSource - license storage

licenseStorageLoaded

void licenseStorageLoaded(LicenseStorage aSource,
                          boolean isSuccess)
This method is called to notify the listener that the license storage has been loaded

Parameters:
aSource - license storage
isSuccess - true if license storage loading succeeded; false otherwise

beforeLicenseStorageSave

void beforeLicenseStorageSave(LicenseStorage aSource)
This method is called to notify the listener the that license storage is about to be saved

Parameters:
aSource - license storage

licenseStorageSaved

void licenseStorageSaved(LicenseStorage aSource,
                         boolean isSuccess)
This method is called to notify the listener that the license storage has been saved

Parameters:
aSource - license storage
isSuccess - true if license storage saving succeeded; false otherwise