Examples of discoverDataSources()


Examples of rex.metadata.ServerMetadata.discoverDataSources()

    if(ur.equalsIgnoreCase("http://localhost:8080/mondrian/xmla"))
    {
      if(obj==bDS)
      {
             ServerMetadata smd = new ServerMetadata(ur);
             DataSourceTreeElement ds[] = smd.discoverDataSources();
             cmbDS.removeAllItems();
             for (int i = 0; ds != null && i < ds.length; i++)
             {
                 cmbDS.addItem((ds[i].toString()).trim());
             }
View Full Code Here

Examples of rex.metadata.ServerMetadata.discoverDataSources()

    public void addDataSource(String URL){
        int i;
       final DataSourceRootElement rootData = (DataSourceRootElement)root.getUserObject();
       if (!urls.containsKey(URL)){ // Jules Grengbondai
           ServerMetadata smd = new ServerMetadata(URL);
           DataSourceTreeElement ds[] = smd.discoverDataSources();
           if (ds != null){
                try {
                    urls.put(URL, new URL(URL));
                } catch (java.net.MalformedURLException  e) {
                   // ignored
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.