| 52 | | // SynergizerStub client = SynergizerStub.getInstance(); |
| 53 | | // for (String auth : client.availableAuthorities()) { |
| 54 | | // System.out.println("Authority: "+auth); |
| 55 | | // for (String species : client.availableSpecies(auth)) { |
| 56 | | // System.out.println(" Species: "+species); |
| 57 | | // IDMapperSynergizer mapper = new IDMapperSynergizer(auth, species); |
| 58 | | // System.out.println(" Supported source data sources:"); |
| 59 | | // for (DataSource ds : mapper.getCapabilities().getSupportedSrcDataSources()) { |
| 60 | | // System.out.println(" "+ds.getFullName()); |
| 61 | | // } |
| 62 | | // System.out.println(" Supported target data sources:"); |
| 63 | | // for (DataSource ds : mapper.getCapabilities().getSupportedTgtDataSources()) { |
| 64 | | // System.out.println(" "+ds.getFullName()); |
| 65 | | // } |
| 66 | | // } |
| 67 | | // } |
| | 52 | |
| | 53 | SynergizerStub client = SynergizerStub.getInstance(); |
| | 54 | for (String auth : client.availableAuthorities()) { |
| | 55 | System.out.println("Authority: "+auth); |
| | 56 | for (String species : client.availableSpecies(auth)) { |
| | 57 | System.out.println(" Species: "+species); |
| | 58 | IDMapperSynergizer mapper = new IDMapperSynergizer(auth, species); |
| | 59 | System.out.println(" Supported source data sources:"); |
| | 60 | for (DataSource ds : mapper.getCapabilities().getSupportedSrcDataSources()) { |
| | 61 | System.out.println(" "+ds.getFullName()); |
| | 62 | } |
| | 63 | System.out.println(" Supported target data sources:"); |
| | 64 | for (DataSource ds : mapper.getCapabilities().getSupportedTgtDataSources()) { |
| | 65 | System.out.println(" "+ds.getFullName()); |
| | 66 | } |
| | 67 | break; // one is enough for now |
| | 68 | } |
| | 69 | break; // one is enough for now |
| | 70 | } |