Ejemplo 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);
  }
Ejemplo 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);
  }