Esempio n. 1
0
  private WPSClientConfig(InputStream resourceAsStream) throws XmlException, IOException {
    wpsClientConfigXMLBeans =
        (WPSClientConfigurationImpl)
            WPSClientConfigurationDocument.Factory.parse(resourceAsStream)
                .getWPSClientConfiguration();

    // FvK: added Property Change support
    this.propertyChangeSupport = new PropertyChangeSupport(this);
  }
Esempio n. 2
0
  private WPSClientConfig(String wpsConfigPath) throws XmlException, IOException {
    wpsClientConfigXMLBeans =
        (WPSClientConfigurationImpl)
            WPSClientConfigurationDocument.Factory.parse(new File(wpsConfigPath))
                .getWPSClientConfiguration();

    // FvK: added Property Change support
    this.propertyChangeSupport = new PropertyChangeSupport(this);
  }