Class ProvisioningProperties

  • public final class ProvisioningProperties
    extends Object
    The ProvisioningProperties is an utility class to read a properties file containing data for automatic provisioning.
    • Field Detail


        public static final String PARAM_AUTOMATIC_PROVISIONING
        Request parameter name for automatic provisioning.
        See Also:
        Constant Field Values

        public static final String PROP_PROVISIONING_CONTAINER_FOLDER
        Name of the system property holding the parent directory of the properties file.
        See Also:
        Constant Field Values

        public static final String PROP_PROVISIONING_FILE_NAME
        File name of the properties file holding the provisioning data.
        See Also:
        Constant Field Values
    • Method Detail

      • getAutomaticProvisioningData

        public static Properties getAutomaticProvisioningData()
        Reads the provisioning properties file with the name PROP_PROVISIONING_FILE_NAME from the working directory. If the system property PROP_PROVISIONING_CONTAINER_FOLDER is set, the method attempts to read the file from there.

        The file should contain prefixed properties in the form of <servicename>.<property> (i.e.

        Properties or null if the file does not exist or can't be read.