|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jp.protection.pub.pro.integration.ws.LicensingFacadeWS
public class LicensingFacadeWS
Implementation of LicensingFacade
capable of
remotely working with Protection! Web Services Application to get and activate licenses
Nested Class Summary | |
---|---|
static class |
LicensingFacadeWS.Provider
Implementation of the provider that creates an instance of the LicensingFacade capable of
remotely working with Protection! Web Services Application to get and activate licenses |
Field Summary | |
---|---|
protected com.jp.protection.pub.pro.integration.ws.gen.LicensingFacade_PortType |
fLicensingFacade
|
protected java.lang.String |
fLogin
|
protected java.lang.String |
fPassword
|
static java.lang.String[] |
PROPERTIES_LICENSE_DESCR
|
static java.lang.String[] |
PROPERTIES_LICENSE_INFO
|
Fields inherited from interface com.jp.protection.pub.pro.integration.LicensingFacade |
---|
ARGUMENT_ACTIVATION_KEY, ARGUMENT_ACTIVATION_LOCK_KEY, ARGUMENT_HOST_NAME, ARGUMENT_IP_ADDRESS, ARGUMENT_LICENSE_FEATURE_PREFIX, ARGUMENT_LICENSE_PROPERTY_FREFIX, ARGUMENT_LOCALE, ARGUMENT_USE_COUNT_LEFT, ARGUMENT_USER |
Constructor Summary | |
---|---|
LicensingFacadeWS(java.net.URL aConnectionURL)
Creates a new instance of LicensingFacadeWS |
|
LicensingFacadeWS(java.net.URL aConnectionURL,
java.lang.String aLogin,
java.lang.String aPassword)
Creates a new instance of LicensingFacadeWS and allows specifying login and password attributes can be
used in order to get and activate licenses |
Method Summary | |
---|---|
LicensingFacadeResult |
activateLicense(byte[] aLicenseBytes,
dev.entities.Customer aUser,
java.lang.String aLicenseKey,
java.lang.String aLogin,
java.lang.String aPassword,
java.util.Map anArguments)
Activates a license specified as an array of bytes. |
protected com.jp.protection.pub.pro.integration.ws.gen.LicenseDescr |
convertLicenseDescr(LicenseDescr aLicenseDescr)
|
protected com.jp.protection.pub.pro.integration.ws.gen.LicenseInfo |
convertLicenseInfo(LicenseInfo aLicenseInfo)
|
protected LicensingFacadeResult |
convertLicensingFacadeResult(com.jp.protection.pub.pro.integration.ws.gen.LicensingFacadeResultWS_Proxy aLicensingFacadeResult)
|
protected com.jp.protection.pub.pro.integration.ws.gen.Customer |
convertUser(dev.entities.Customer aCustomer)
|
LicensingFacadeResult |
deactivateLicense(byte[] aLicenseBytes,
java.lang.String aDeactivationKey,
java.lang.String aLogin,
java.lang.String aPassword,
java.util.Map anArguments)
Deactivates a license at the vendors side. |
LicensingFacadeResult |
getLicense(LicenseDescr aLicenseDescr,
dev.entities.Customer aCustomer,
java.lang.String aLogin,
java.lang.String aPassword,
java.util.Map anArguments)
Generates a license according to the provided license descriptor. |
LicensingFacadeResult |
getLicense(LicenseInfo aLicenseInfo,
dev.entities.Customer aCustomer,
java.lang.String aLogin,
java.lang.String aPassword,
java.util.Map anArguments)
Generates a license according to provided license information. |
LicensingFacadeResult |
getLicense(java.lang.String aSerialNumber,
dev.entities.Customer aCustomer,
java.lang.String aLogin,
java.lang.String aPassword,
java.util.Map anArguments)
Generates a license according to the provided Serial Number. |
java.lang.String |
getVersion()
Returns the version of implementation. |
protected java.util.HashMap |
prepareMap(java.util.Map aMap)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected com.jp.protection.pub.pro.integration.ws.gen.LicensingFacade_PortType fLicensingFacade
protected java.lang.String fLogin
protected java.lang.String fPassword
public static final java.lang.String[] PROPERTIES_LICENSE_INFO
public static final java.lang.String[] PROPERTIES_LICENSE_DESCR
Constructor Detail |
---|
public LicensingFacadeWS(java.net.URL aConnectionURL)
LicensingFacadeWS
aConnectionURL
- URL of Web Service to connectpublic LicensingFacadeWS(java.net.URL aConnectionURL, java.lang.String aLogin, java.lang.String aPassword)
LicensingFacadeWS
and allows specifying login and password attributes can be
used in order to get and activate licenses
aConnectionURL
- URL of Web Service to connectaLogin
- login nameaPassword
- passwordMethod Detail |
---|
protected java.util.HashMap prepareMap(java.util.Map aMap)
public LicensingFacadeResult getLicense(LicenseDescr aLicenseDescr, dev.entities.Customer aCustomer, java.lang.String aLogin, java.lang.String aPassword, java.util.Map anArguments)
LicensingFacade
getLicense
in interface LicensingFacade
aLicenseDescr
- describes license to getaCustomer
- specifies customer information, which requests a licenseaLogin
- login nameaPassword
- passwordanArguments
- additional arguments can be needed for proper license getting
LicensingFacadeResult
instance.public LicensingFacadeResult getLicense(java.lang.String aSerialNumber, dev.entities.Customer aCustomer, java.lang.String aLogin, java.lang.String aPassword, java.util.Map anArguments)
LicensingFacade
getLicense
in interface LicensingFacade
aSerialNumber
- serial numberaCustomer
- specifies customer information, which requests a licenseaLogin
- login nameaPassword
- passwordanArguments
- additional arguments can be needed for proper license getting
LicensingFacadeResult
instance.public java.lang.String getVersion()
LicensingFacade
getVersion
in interface LicensingFacade
public LicensingFacadeResult getLicense(LicenseInfo aLicenseInfo, dev.entities.Customer aCustomer, java.lang.String aLogin, java.lang.String aPassword, java.util.Map anArguments)
LicensingFacade
getLicense
in interface LicensingFacade
aLicenseInfo
- describes license to getaCustomer
- specifies customer information, which requests a licenseaLogin
- login nameaPassword
- passwordanArguments
- additional arguments can be needed for proper license getting
LicensingFacadeResult
instance.public LicensingFacadeResult activateLicense(byte[] aLicenseBytes, dev.entities.Customer aUser, java.lang.String aLicenseKey, java.lang.String aLogin, java.lang.String aPassword, java.util.Map anArguments)
LicensingFacade
activateLicense
in interface LicensingFacade
aLicenseBytes
- license to activate passed as array of bytesaUser
- specifies customer information, which requests a licenseaLicenseKey
- activation keyaLogin
- login nameaPassword
- passwordanArguments
- additional arguments can be needed for proper license activation
LicensingFacadeResult
instance.public LicensingFacadeResult deactivateLicense(byte[] aLicenseBytes, java.lang.String aDeactivationKey, java.lang.String aLogin, java.lang.String aPassword, java.util.Map anArguments)
LicensingFacade
LicenseHostPro.deactivateLicense()
Valid login and password values should be specified to ensure that the user is eligible to
activate certain type of license.
deactivateLicense
in interface LicensingFacade
aLicenseBytes
- license to deactivate passed as array of bytesaDeactivationKey
- deactivation key returned by LicenseHostPro.deactivateLicense()
callaLogin
- login nameaPassword
- passwordanArguments
- additional arguments can be needed for proper license deactivation
LicensingFacadeResult
instance.protected com.jp.protection.pub.pro.integration.ws.gen.Customer convertUser(dev.entities.Customer aCustomer)
protected com.jp.protection.pub.pro.integration.ws.gen.LicenseInfo convertLicenseInfo(LicenseInfo aLicenseInfo)
protected com.jp.protection.pub.pro.integration.ws.gen.LicenseDescr convertLicenseDescr(LicenseDescr aLicenseDescr)
protected LicensingFacadeResult convertLicensingFacadeResult(com.jp.protection.pub.pro.integration.ws.gen.LicensingFacadeResultWS_Proxy aLicensingFacadeResult)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |