Interface JPPFConfiguration.ConfigurationSource

Enclosing class:
JPPFConfiguration

public static interface JPPFConfiguration.ConfigurationSource
Implement this interface to provide an alternate configuration source via an InputStream.

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 an input stream.
  • Method Details

    • getPropertyStream

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