View Javadoc

1   package net.sourceforge.jdbdump.gui;
2   
3   import java.io.IOException;
4   import java.util.ArrayList;
5   import java.util.Hashtable;
6   import java.util.List;
7   
8   import net.sourceforge.jdbdump.connect.Configuration;
9   import net.sourceforge.jdbdump.connect.DatabaseConnectionData;
10  
11  /***
12   * @author grabka
13   *
14   */
15  public class DbListBean {
16  	private List list;
17  	
18  	public DbListBean() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException {
19  		list = new ArrayList();
20  		/* DatabaseConnectionData's */
21  		list.addAll(Configuration.getInstance().getConnections().values());
22  	}
23  	
24  	public synchronized List getList() {
25  		return list;
26  	}
27  	
28  	public void setList(List list) {
29  		this.list = list;
30  	}	
31  }