|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jp.protection.pub.ProtectionFactoryBase
com.jp.protection.pub.HeadlessProtectionFactory
public class HeadlessProtectionFactory
Factory class responsible for the creation of the instances of various Protection! classes sutable for headless aplications depending on the Protection! edition (Standard or Professional) these features are either initialized or not.
| Field Summary | |
|---|---|
protected static HeadlessProtectionFactory |
fInstance
|
protected static java.lang.Class |
fProtectionFactoryClass
|
| Constructor Summary | |
|---|---|
HeadlessProtectionFactory()
|
|
| Method Summary | |
|---|---|
static LicenseAcceptanceDelegate |
createLicenseAcceptanceDelegate()
Creates an instance of dummy implementation of the license acceptance delegate that assumes that license agreement is already accepted by some way outside application. |
protected static LicenseAcceptanceDelegate |
createLicenseAcceptanceDelegateInt()
|
static LicenseHost |
createLicenseHost()
Creates a new instance of the license host |
static LicenseHost |
createLicenseHost(LicenseReader aLicenseReader)
Creates a new instance of the license host and assigns a license reader to it |
static LicenseHost |
createLicenseHost(LicenseReader aLicenseReader,
LicenseHostListener aLicenseHostListener)
Creates a new instance of the license host, assigns a license reader to it and adds license host listener to both license reader and license host |
protected LicenseHost |
createLicenseHostInt(LicenseReader aLicenseReader,
LicenseHostListener aLicenseHostListener)
|
static LicenseListener |
createLicenseListener()
Creates a new instance of the license listener. |
protected LicenseListener |
createLicenseListenerInt()
|
static LicenseReader |
createLicenseReader()
Creates a new instance of the license reader |
protected LicenseReader |
createLicenseReaderInt()
|
static HeadlessProtectionFactory |
getInstance()
Returns an instance of the protection factory |
static void |
initProfessional()
Initializes factory to enable creation of the Protection! Professional edition classes |
| Methods inherited from class com.jp.protection.pub.ProtectionFactoryBase |
|---|
getAPIVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.lang.Class fProtectionFactoryClass
protected static HeadlessProtectionFactory fInstance
| Constructor Detail |
|---|
public HeadlessProtectionFactory()
| Method Detail |
|---|
public static void initProfessional()
public static HeadlessProtectionFactory getInstance()
ProtectionFactorypublic static LicenseReader createLicenseReader()
LicenseReaderpublic static LicenseHost createLicenseHost()
LicenseHostpublic static LicenseHost createLicenseHost(LicenseReader aLicenseReader)
aLicenseReader - license reader to be assigned to the license host
LicenseHost
public static LicenseHost createLicenseHost(LicenseReader aLicenseReader,
LicenseHostListener aLicenseHostListener)
aLicenseReader - license reader to be assigned to the license hostaLicenseHostListener - listener to add
LicenseHostpublic static LicenseListener createLicenseListener()
LicenseListenerpublic static LicenseAcceptanceDelegate createLicenseAcceptanceDelegate()
LicenseAcceptanceDelegateprotected static LicenseAcceptanceDelegate createLicenseAcceptanceDelegateInt()
protected LicenseHost createLicenseHostInt(LicenseReader aLicenseReader,
LicenseHostListener aLicenseHostListener)
protected LicenseListener createLicenseListenerInt()
protected LicenseReader createLicenseReaderInt()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||