com.jp.protection.priv.pro.integration
Class LocalLicensingFacade.Provider

java.lang.Object
  extended by com.jp.protection.pub.pro.integration.LicensingFacadeProvider
      extended by com.jp.protection.priv.pro.integration.LocalLicensingFacade.Provider
Enclosing class:
LocalLicensingFacade

public static class LocalLicensingFacade.Provider
extends LicensingFacadeProvider

LicensingFacadeProvider implementation aware of LocalLicensingFacade instances providing


Field Summary
protected  LocalLicensingFacade fLicensingFacade
           
protected  java.lang.String fLogin
           
protected  java.lang.String fPassword
           
 
Fields inherited from class com.jp.protection.pub.pro.integration.LicensingFacadeProvider
fDefault, fProviderMap
 
Constructor Summary
LocalLicensingFacade.Provider(java.io.File aProductsStorageFile, LicensingFacadeDelegate aDelegate, java.lang.String aLogin, java.lang.String aPassword)
          Creates new instance of the Provider
LocalLicensingFacade.Provider(java.io.File aProductsStorageFile, LicensingFacadeExtension anExtension, java.lang.String aLogin, java.lang.String aPassword)
          Creates new instance of the Provider
LocalLicensingFacade.Provider(java.io.File aProductsStorageFile, java.lang.String aLogin, java.lang.String aPassword)
          Creates new instance of the Provider and uses licensing facade configuration from loaded products storage
LocalLicensingFacade.Provider(java.io.InputStream aProductsStorageInputStream, LicensingFacadeDelegate aDelegate, java.lang.String aLogin, java.lang.String aPassword)
          Creates new instance of the Provider
LocalLicensingFacade.Provider(java.io.InputStream aProductsStorageInputStream, LicensingFacadeExtension anExtension, java.lang.String aLogin, java.lang.String aPassword)
          Creates new instance of the Provider
LocalLicensingFacade.Provider(java.io.InputStream aProductsStorageInputStream, java.lang.String aLogin, java.lang.String aPassword)
          Creates new instance of the Provider and uses licensing facade configuration from loaded products storage
 
Method Summary
 LicensingFacade getLicensingFacade()
           
 
Methods inherited from class com.jp.protection.pub.pro.integration.LicensingFacadeProvider
addProvider, getInstance, getInstance, hasProviders, isDefault, removeProvider, setDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fLicensingFacade

protected LocalLicensingFacade fLicensingFacade

fLogin

protected java.lang.String fLogin

fPassword

protected java.lang.String fPassword
Constructor Detail

LocalLicensingFacade.Provider

public LocalLicensingFacade.Provider(java.io.InputStream aProductsStorageInputStream,
                                     LicensingFacadeDelegate aDelegate,
                                     java.lang.String aLogin,
                                     java.lang.String aPassword)
                              throws java.io.IOException
Creates new instance of the Provider

Parameters:
aProductsStorageInputStream - input stream to load products storage from
aDelegate - 'delegate' plug-in to work with
aLogin - login name
aPassword - password
Throws:
java.io.IOException - in case of any error occurred during reading of the products storage

LocalLicensingFacade.Provider

public LocalLicensingFacade.Provider(java.io.File aProductsStorageFile,
                                     LicensingFacadeExtension anExtension,
                                     java.lang.String aLogin,
                                     java.lang.String aPassword)
                              throws java.io.IOException
Creates new instance of the Provider

Parameters:
aProductsStorageFile - local file to load products storage from
anExtension - 'extension' plug-in to work with
aLogin - login name
aPassword - password
Throws:
java.io.IOException - in case of any error occurred during reading of the products storage

LocalLicensingFacade.Provider

public LocalLicensingFacade.Provider(java.io.InputStream aProductsStorageInputStream,
                                     LicensingFacadeExtension anExtension,
                                     java.lang.String aLogin,
                                     java.lang.String aPassword)
                              throws java.io.IOException
Creates new instance of the Provider

Parameters:
aProductsStorageInputStream - input stream to load products storage from
anExtension - 'extension' plug-in to work with
aLogin - login name
aPassword - password
Throws:
java.io.IOException - in case of any error occurred during reading of the products storage

LocalLicensingFacade.Provider

public LocalLicensingFacade.Provider(java.io.File aProductsStorageFile,
                                     LicensingFacadeDelegate aDelegate,
                                     java.lang.String aLogin,
                                     java.lang.String aPassword)
                              throws java.io.IOException
Creates new instance of the Provider

Parameters:
aProductsStorageFile - local file to load the products storage from
aDelegate - 'delegate' plug-in to work with
aLogin - login name
aPassword - password
Throws:
java.io.IOException - in case of any error occurred during reading of the products storage

LocalLicensingFacade.Provider

public LocalLicensingFacade.Provider(java.io.File aProductsStorageFile,
                                     java.lang.String aLogin,
                                     java.lang.String aPassword)
                              throws java.io.IOException
Creates new instance of the Provider and uses licensing facade configuration from loaded products storage

Parameters:
aProductsStorageFile - local file to load the products storage from
aLogin - login name
aPassword - password
Throws:
java.io.IOException - in case of any error occurred during reading of the products storage

LocalLicensingFacade.Provider

public LocalLicensingFacade.Provider(java.io.InputStream aProductsStorageInputStream,
                                     java.lang.String aLogin,
                                     java.lang.String aPassword)
                              throws java.io.IOException
Creates new instance of the Provider and uses licensing facade configuration from loaded products storage

Parameters:
aProductsStorageInputStream - input stream to load the products storage from
aLogin - login name
aPassword - password
Throws:
java.io.IOException - in case of any error occurred during reading of the products storage
Method Detail

getLicensingFacade

public LicensingFacade getLicensingFacade()
Specified by:
getLicensingFacade in class LicensingFacadeProvider