com.jp.protection.pub.pro.lserver
Interface LicensingServiceProviderListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
LicensingServiceProviderAdapter

public interface LicensingServiceProviderListener
extends java.util.EventListener

The listener interface for receiving "interesting" LicensingServiceProvider events.

Since:
3.0

Method Summary
 void licenseCanLocked(LicensingServiceProvider aSource, LicensingService aService, LicenseData.Request aRequest, LicensingServiceResult aResult)
          Provider call this method to notify listener that the Licensing Server was queried about ability to lock specific license
 void licenseCheckedOut(LicensingServiceProvider aSource, LicensingService aService, java.lang.String aTicket, LicensingServiceResult.CheckoutResult aResult)
          Provider call this method to notify listener that the license checked out from the Licensing Server
 void licenseGot(LicensingServiceProvider aSource, LicensingService aService, LicenseData.Request aRequest, LicensingServiceResult.LicenseResult aResult)
          Provider call this method to notify listener that a license was obtained from the Licensing Server
 void licenseLockConfirmed(LicensingServiceProvider aSource, LicensingService aService, java.lang.String aTicket, LicensingServiceResult aResult)
          Provider call this method to notify listener that the license lock was confirmed using the Licensing Server
 void licenseLocked(LicensingServiceProvider aSource, LicensingService aService, LicenseData.Request aRequest, LicensingServiceResult aResult)
          Provider call this method to notify listener that a license was locked using the Licensing Server
 void licenseUnlocked(LicensingServiceProvider aSource, LicensingService aService, java.lang.String aTicket, LicensingServiceResult aResult)
          Provider call this method to notify listener that the license lock was released using the Licensing Server
 void licensingServiceObtained(LicensingServiceProvider aSource, LicensingService aService)
          Provider call this method to notify listener that a new instance of the Licensing Service is obtained
 void licensingServiceReleased(LicensingServiceProvider aSource, LicensingService aService)
          Provider call this method to notify listener that an instance of the Licensing Service was released
 

Method Detail

licensingServiceObtained

void licensingServiceObtained(LicensingServiceProvider aSource,
                              LicensingService aService)
Provider call this method to notify listener that a new instance of the Licensing Service is obtained

Parameters:
aSource - the Licensing Service provider
aService - a newly created Licensing Service

licensingServiceReleased

void licensingServiceReleased(LicensingServiceProvider aSource,
                              LicensingService aService)
Provider call this method to notify listener that an instance of the Licensing Service was released

Parameters:
aSource - the Licensing Service provider
aService - a Licensing Service was released

licenseGot

void licenseGot(LicensingServiceProvider aSource,
                LicensingService aService,
                LicenseData.Request aRequest,
                LicensingServiceResult.LicenseResult aResult)
Provider call this method to notify listener that a license was obtained from the Licensing Server

Parameters:
aSource - the Licensing Service provider
aService - the Licensing Service used to obtain license
aRequest - request which identifies license to get
aResult - result of the operation

licenseLocked

void licenseLocked(LicensingServiceProvider aSource,
                   LicensingService aService,
                   LicenseData.Request aRequest,
                   LicensingServiceResult aResult)
Provider call this method to notify listener that a license was locked using the Licensing Server

Parameters:
aSource - the Licensing Service provider
aService - the Licensing Service used to lock license
aRequest - request which identifies license to lock
aResult - result of the operation

licenseCanLocked

void licenseCanLocked(LicensingServiceProvider aSource,
                      LicensingService aService,
                      LicenseData.Request aRequest,
                      LicensingServiceResult aResult)
Provider call this method to notify listener that the Licensing Server was queried about ability to lock specific license

Parameters:
aSource - the Licensing Service provider
aService - the Licensing Service used to lock license
aRequest - request which identifies license to lock
aResult - result of the operation

licenseLockConfirmed

void licenseLockConfirmed(LicensingServiceProvider aSource,
                          LicensingService aService,
                          java.lang.String aTicket,
                          LicensingServiceResult aResult)
Provider call this method to notify listener that the license lock was confirmed using the Licensing Server

Parameters:
aSource - the Licensing Service provider
aService - the Licensing Service used to lock license
aTicket - identifies license session
aResult - result of the operation

licenseUnlocked

void licenseUnlocked(LicensingServiceProvider aSource,
                     LicensingService aService,
                     java.lang.String aTicket,
                     LicensingServiceResult aResult)
Provider call this method to notify listener that the license lock was released using the Licensing Server

Parameters:
aSource - the Licensing Service provider
aService - the Licensing Service used to release license lock
aTicket - identifies license session
aResult - result of the operation

licenseCheckedOut

void licenseCheckedOut(LicensingServiceProvider aSource,
                       LicensingService aService,
                       java.lang.String aTicket,
                       LicensingServiceResult.CheckoutResult aResult)
Provider call this method to notify listener that the license checked out from the Licensing Server

Parameters:
aSource - the Licensing Service provider
aService - the Licensing Service used to checkout
aTicket - identifies license session
aResult - result of the operation
Since:
v5.0