|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jp.protection.pub.pro.lserver.LicensingServiceProviderListenerSupport
public class LicensingServiceProviderListenerSupport
Helper class for simplifying the process of LicensingServiceProvider events support
Field Summary | |
---|---|
(package private) java.util.Vector |
fLicensingServiceProviderListeners
|
Constructor Summary | |
---|---|
LicensingServiceProviderListenerSupport()
|
Method Summary | |
---|---|
void |
addLicensingServiceProviderListener(LicensingServiceProviderListener l)
Adds a listener to the listeners list |
void |
fireLicenseCanLocked(LicensingServiceProvider aSource,
LicensingService aService,
LicenseData.Request aRequest,
LicensingServiceResult aResult)
Fires event to notify the listeners that the Licensing Server was queried about ability to lock specific license |
void |
fireLicenseCheckedOut(LicensingServiceProvider aSource,
LicensingService aService,
java.lang.String aTicket,
LicensingServiceResult.CheckoutResult aResult)
Fires event to notify the listeners that the license was checked out from the Licensing Server |
void |
fireLicenseGot(LicensingServiceProvider aSource,
LicensingService aService,
LicenseData.Request aRequest,
LicensingServiceResult.LicenseResult aResult)
Fires event to notify the listeners that a license was obtained from the Licensing Server |
void |
fireLicenseLockConfirmed(LicensingServiceProvider aSource,
LicensingService aService,
java.lang.String aTicket,
LicensingServiceResult aResult)
Fires event to notify the listeners that the license lock was confirmed using the Licensing Server |
void |
fireLicenseLocked(LicensingServiceProvider aSource,
LicensingService aService,
LicenseData.Request aRequest,
LicensingServiceResult aResult)
Fires event to notify the listeners that a license was locked using the Licensing Server |
void |
fireLicenseUnlocked(LicensingServiceProvider aSource,
LicensingService aService,
java.lang.String aTicket,
LicensingServiceResult aResult)
Fires event to notify the listeners that the license lock was released using the Licensing Server |
void |
fireLicensingServiceObtained(LicensingServiceProvider aSource,
LicensingService aService)
Fires event to notify the listeners that a new instance of the Licensing Service is obtained |
void |
fireLicensingServiceReleased(LicensingServiceProvider aSource,
LicensingService aService)
Fires event to notify to notify the listeners that an instance of the Licensing Service was released |
void |
removeLicensingServiceProviderListener(LicensingServiceProviderListener l)
Removes the listener from the listeners list |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
transient java.util.Vector fLicensingServiceProviderListeners
Constructor Detail |
---|
public LicensingServiceProviderListenerSupport()
Method Detail |
---|
public void addLicensingServiceProviderListener(LicensingServiceProviderListener l)
l
- listener to addpublic void removeLicensingServiceProviderListener(LicensingServiceProviderListener l)
l
- listener to removepublic void fireLicensingServiceObtained(LicensingServiceProvider aSource, LicensingService aService)
aSource
- the Licensing Service provideraService
- a newly created Licensing Servicepublic void fireLicensingServiceReleased(LicensingServiceProvider aSource, LicensingService aService)
aSource
- the Licensing Service provideraService
- a Licensing Service was releasedpublic void fireLicenseGot(LicensingServiceProvider aSource, LicensingService aService, LicenseData.Request aRequest, LicensingServiceResult.LicenseResult aResult)
aSource
- the Licensing Service provideraService
- the Licensing Service used to obtain licenseaRequest
- request which identifies license to getaResult
- result of the operationpublic void fireLicenseLocked(LicensingServiceProvider aSource, LicensingService aService, LicenseData.Request aRequest, LicensingServiceResult aResult)
aSource
- the Licensing Service provideraService
- the Licensing Service used to lock licenseaRequest
- request which identifies license to lockaResult
- result of the operationpublic void fireLicenseCanLocked(LicensingServiceProvider aSource, LicensingService aService, LicenseData.Request aRequest, LicensingServiceResult aResult)
aSource
- the Licensing Service provideraService
- the Licensing Service used to lock licenseaRequest
- request which identifies license to lockaResult
- result of the operationpublic void fireLicenseLockConfirmed(LicensingServiceProvider aSource, LicensingService aService, java.lang.String aTicket, LicensingServiceResult aResult)
aSource
- the Licensing Service provideraService
- the Licensing Service used to lock licenseaTicket
- identifies license sessionaResult
- result of the operationpublic void fireLicenseUnlocked(LicensingServiceProvider aSource, LicensingService aService, java.lang.String aTicket, LicensingServiceResult aResult)
aSource
- the Licensing Service provideraService
- the Licensing Service used to release license lockaTicket
- identifies license sessionaResult
- result of the operationpublic void fireLicenseCheckedOut(LicensingServiceProvider aSource, LicensingService aService, java.lang.String aTicket, LicensingServiceResult.CheckoutResult aResult)
aSource
- the Licensing Service provideraService
- the Licensing Service used to checkoutaTicket
- identifies license sessionaResult
- result of the operation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |