Examples of JerseyDataSource


Examples of uk.org.ogsadai.client.toolkit.presentation.jersey.JerseyDataSource

        for (DataSourceObserver observer : observers)
        {
          LOG.debug("Result data source: " + observer.getDataSourceResource().getClass().getName());
          if(observer.getDataSourceResource() instanceof JerseyDataSource)
          {
            JerseyDataSource ds = (JerseyDataSource) observer.getDataSourceResource();
            String address = ((JerseyResource) ds.getResource()).getURL();
            LOG.debug("Result address = " + address);
            map.put(observer.getName(), address);
          }       
        }
        return map;
View Full Code Here

Examples of uk.org.ogsadai.client.toolkit.presentation.jersey.JerseyDataSource

    /**
     * {@inheritDoc}
     */
    public void update(Observable o, Object arg)
    {
        JerseyDataSource resource = (JerseyDataSource)arg;
        String url = ((JerseyResource)resource.getResource()).getBaseURL();
        addInput(URL, new StringData(url));
        addInput(RESOURCE_ID, new StringData(resource.getResourceID().toString()));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.