Package com.googlecode.psiprobe.model

Examples of com.googlecode.psiprobe.model.DataSourceInfoGroup


                return jdbcURL1.compareToIgnoreCase(jdbcURL2);
            }
        });

        // group datasources by JDBC URL and calculate aggregated totals
        DataSourceInfoGroup dsGroup = null;
        for (Iterator i = dataSources.iterator(); i.hasNext();) {
            DataSourceInfo ds = (DataSourceInfo) i.next();

            if (dsGroup == null || !dsGroup.getJdbcURL().equalsIgnoreCase(ds.getJdbcURL())) {
                dsGroup = new DataSourceInfoGroup(ds);
                dataSourceGroups.add(dsGroup);
            } else {
                dsGroup.addDataSourceInfo(ds);
            }
        }

        return new ModelAndView(getViewName(), "dataSourceGroups", dataSourceGroups);
    }
View Full Code Here

TOP

Related Classes of com.googlecode.psiprobe.model.DataSourceInfoGroup

Copyright © 2018 www.massapicom. 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.