Interface JPPFConfiguration.ConfigurationSourceReader

Enclosing class:
JPPFConfiguration

public static interface JPPFConfiguration.ConfigurationSourceReader
Implement this interface to provide an alternate configuration source via a Reader.

WARNING: not shown in the interface but also required: implementations must have a public no-arg constructor.

  • Method Summary

    Modifier and Type
    Method
    Description
    Obtain the JPPF configuration properties from a Reader.
  • Method Details

    • getPropertyReader

      Reader getPropertyReader() throws IOException
      Obtain the JPPF configuration properties from a Reader. The returned reader content must conform to the properties file's specifications (i.e. it must be usable as the argument to Properties.load(InputStream)).
      Returns:
      an Reader instance.
      Throws:
      IOException - if the stream cannot be created.