|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jp.protection.gui.dialogs.DefaultLicenseReaderIssueResolver
com.jp.protection.gui.dialogs.pro.DefaultLicenseReaderIssueResolverPro
public class DefaultLicenseReaderIssueResolverPro
Default implementation of "resolver" interface which introduces methods responsible for the resolving of the issues and conflicts occurring during the license locating and reading. It shows Licensing Wizard which provides ways to find or obtain licenses. It extends base implementation with ability to request licenses using Licensing Facade.
| Field Summary | |
|---|---|
protected LicenseHostPro |
fLicenseHost
|
protected java.lang.String |
fLogin
|
protected java.lang.String |
fPassword
|
| Fields inherited from class com.jp.protection.gui.dialogs.DefaultLicenseReaderIssueResolver |
|---|
fLicenseReader, fLicensingWizard, fOwner, fProductInfo |
| Constructor Summary | |
|---|---|
DefaultLicenseReaderIssueResolverPro(LicenseReader aLicenseReader)
Creates a new instance of Issue Resolver with no owner |
|
DefaultLicenseReaderIssueResolverPro(LicenseReader aLicenseReader,
java.awt.Component anOwner)
Creates a new instance of Issue Resolver |
|
| Method Summary | |
|---|---|
protected LicensingWizard |
createLicensingWizard()
|
LicenseHostPro |
getLicenseHost()
|
java.lang.String |
getLicensingFacadeProviderName()
Returns name of LicensingFacadeProvider is used by Licensing Wizard to get access to the
licensing functionality |
LicensingWizard |
getLicensingWizard()
Returns cached Licensing Wizard instance. |
protected LicensingWizardPro |
getLicensingWizardPro()
|
java.lang.String |
getLogin()
Returns login name should be passed to the Licensing Facade |
java.lang.String |
getPassword()
Returns password should be passed to the Licensing Facade |
boolean |
isAutoUpdateLicenseFromLicensingServer()
Returns whether automatic update of license from Licening Server is enabled. |
boolean |
isRequestEvalEnabled()
Deprecated. since v2.0. Use setLicensingWizardOptions() instead. |
boolean |
isSkipCustomerInfoForSerialNumbers()
Deprecated. since v2.0. Use setLicensingWizardOptions() instead. |
void |
setAutoUpdateLicenseFromLicensingServer(boolean autoUpdateLicenseFromLicensingServer)
Specifies that automatic update of license from Licening Server is enabled. |
void |
setLicenseHost(LicenseHostPro aLicenseHost)
|
void |
setLicensingFacadeProviderName(java.lang.String aName)
Specifies name of LicensingFacadeProvider should be used by Licensing Wizard to get access to the
licensing functionality |
void |
setLogin(java.lang.String aLogin)
Specifies login name should be passed to the Licensing Facade |
void |
setPassword(java.lang.String aPassword)
Specifies password should be passed to the Licensing Facade |
void |
setRequestEvalEnabled(boolean aValue)
Deprecated. since v2.0. Use setLicensingWizardOptions() instead. |
void |
setSkipCustomerInfoForSerialNumbers(boolean aSkipCustomerInfoForSerialNumbers)
Deprecated. since v2.0. Use setLicensingWizardOptions() instead. |
boolean |
updateLicense(LicenseReader aSource)
This method is responsible for updating a license to keep it up-to-date. |
| Methods inherited from class com.jp.protection.gui.dialogs.DefaultLicenseReaderIssueResolver |
|---|
getLicensingWizardOptions, getProductInfo, resolveLicenseCorrupted, resolveLicenseMissing, setLicensingWizardLogo, setLicensingWizardOptions, setProductInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected LicenseHostPro fLicenseHost
protected java.lang.String fLogin
protected java.lang.String fPassword
| Constructor Detail |
|---|
public DefaultLicenseReaderIssueResolverPro(LicenseReader aLicenseReader,
java.awt.Component anOwner)
aLicenseReader - License Reader instance used to properly find license locationanOwner - a component from which Licensing Wizard should be displayedpublic DefaultLicenseReaderIssueResolverPro(LicenseReader aLicenseReader)
aLicenseReader - License Reader instance used to properly find license location| Method Detail |
|---|
public LicenseHostPro getLicenseHost()
public void setLicenseHost(LicenseHostPro aLicenseHost)
protected LicensingWizard createLicensingWizard()
createLicensingWizard in class DefaultLicenseReaderIssueResolverpublic boolean isRequestEvalEnabled()
setLicensingWizardOptions() instead.
true if getting evaluation licenses is enabled;
false otherwise.public void setRequestEvalEnabled(boolean aValue)
setLicensingWizardOptions() instead.
aValue - true if getting evaluation licenses should be enabled;
false otherwise.public LicensingWizard getLicensingWizard()
DefaultLicenseReaderIssueResolver
getLicensingWizard in class DefaultLicenseReaderIssueResolverprotected LicensingWizardPro getLicensingWizardPro()
public java.lang.String getLicensingFacadeProviderName()
LicensingFacadeProvider is used by Licensing Wizard to get access to the
licensing functionality
LicensingFacadeProviderpublic void setLicensingFacadeProviderName(java.lang.String aName)
LicensingFacadeProvider should be used by Licensing Wizard to get access to the
licensing functionality
aName - name of LicensingFacadeProviderpublic java.lang.String getLogin()
public void setLogin(java.lang.String aLogin)
aLogin - login namepublic java.lang.String getPassword()
public void setPassword(java.lang.String aPassword)
aPassword - passwordpublic boolean isSkipCustomerInfoForSerialNumbers()
setLicensingWizardOptions() instead.
true if entering customer information should be skipped during getting
licenses for Serial Numbers; false otherwise.public void setSkipCustomerInfoForSerialNumbers(boolean aSkipCustomerInfoForSerialNumbers)
setLicensingWizardOptions() instead.
aSkipCustomerInfoForSerialNumbers - true if entering
customer information should be
skipped during getting licenses for
Serial Numbers; false
otherwise.public boolean updateLicense(LicenseReader aSource)
LicenseReaderIssueResolverExtThis method is responsible for updating a license to keep it up-to-date. Implementation of this method should:
updateLicense in interface LicenseReaderIssueResolverExtupdateLicense in class DefaultLicenseReaderIssueResolveraSource - identifies the license reader calling this method
true if license has been updated or removed; false otherwisepublic void setAutoUpdateLicenseFromLicensingServer(boolean autoUpdateLicenseFromLicensingServer)
autoUpdateLicenseFromLicensingServer - true if automatic update of license from Licening Server should be enabled;
false otherwise.public boolean isAutoUpdateLicenseFromLicensingServer()
true if automatic update of license from Licening Server is enabled;
false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||