Interface OpenCardConfigurationProvider

  • All Known Implementing Classes:
    OpenCardPropertyFileLoader

    public interface OpenCardConfigurationProvider
    OpenCardConfigurationProvider is the general interface that has to be implemented by concrete classes that are to set OpenCard's properties. These mechanisms are platform and application dependent and can thus not be offered by the core packages. E.g. the default mechanism to set OpenCard's properties on WinTel systems is to read the 'opencard.properties' file which contains the properties values. On other systems (e.g. on NCs) the properties may (have to) be set differently because there may be no disk at all and therefore no files ...
    Version:
    1.0
    Author:
    Mike Wendler (mwendler@de.ibm.com)
    • Method Detail

      • loadProperties

        void loadProperties()
                     throws OpenCardPropertyLoadingException
        Obtain OpenCard Framework properties and add them to the system properties. NOTE that setting system properties is a security relevant activity so if your code runs within a browser the according privileges have to be enabled before.
        Throws:
        OpenCardPropertyLoadingException - thrown if OpenCard's properties cannot be obtained for some reason.