public WindupVertexListModel<T> addAll(WindupVertexListModel<T> frame, Iterable<T> items) { for (T item : items) frame.addItem(item); return frame; }
public Iterator<T> iterator(WindupVertexListModel<T> frame) { return frame.getList().iterator(); } }
data.put("jaxRsServices", listService.create().addAll(jaxRsList)); data.put("jaxWsServices", listService.create().addAll(jaxWsList)); data.put("ejbRemoteServices", listService.create().addAll(ejbRemoteList)); data.put("rmiServices", listService.create().addAll(rmiList)); applicationReportModel.setRelatedResource(data);
data.put("jaxRsServices", listService.create().addAll(jaxRsList)); data.put("jaxWsServices", listService.create().addAll(jaxWsList)); data.put("ejbRemoteServices", listService.create().addAll(ejbRemoteList)); data.put("rmiServices", listService.create().addAll(rmiList)); applicationReportModel.setRelatedResource(data);
public WindupVertexListModel<T> addAll(WindupVertexListModel<T> frame, Iterable<T> items) { for (T item : items) frame.addItem(item); return frame; }
additionalData.put("datasources", listService.create().addAll(datasourceList)); additionalData.put("jmsDestinations", listService.create().addAll(jmsList)); additionalData.put("jmsConnectionFactories", listService.create().addAll(jmsConnectionFactoryList)); additionalData.put("otherResources", listService.create().addAll(otherJndiList)); additionalData.put("threadPools", listService.create().addAll(threadPoolList)); applicationReportModel.setRelatedResource(additionalData);
public Iterator<T> iterator(WindupVertexListModel<T> frame) { return frame.getList().iterator(); } }
additionalData.put("datasources", listService.create().addAll(datasourceList)); additionalData.put("jmsDestinations", listService.create().addAll(jmsList)); additionalData.put("jmsConnectionFactories", listService.create().addAll(jmsConnectionFactoryList)); additionalData.put("otherResources", listService.create().addAll(otherJndiList)); additionalData.put("threadPools", listService.create().addAll(threadPoolList)); applicationReportModel.setRelatedResource(additionalData);
relatedData.put("applications", appsListVertex); for (ApplicationReportModel applicationReportModel : appsList) appsListVertex.addItem(applicationReportModel);
relatedData.put("applications", appsListVertex); for (ApplicationReportModel applicationReportModel : appsList) appsListVertex.addItem(applicationReportModel);
processes.addAll(processModelList);
for (StaticIPLocationModel location : results) staticIPList.addItem(location);