KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > database > impl > DatabaseServiceConfig


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.services.database.impl;
6
7 import java.util.ArrayList JavaDoc ;
8
9 /**
10  * @author Tuan Nguyen (tuan08@users.sourceforge.net)
11  * @since Oct 29, 2004
12  * @version $Id: DatabaseServiceConfig.java,v 1.1 2004/10/30 02:27:52 tuan08 Exp $
13  */

14 public class DatabaseServiceConfig {
15   private ArrayList JavaDoc datasource = new ArrayList JavaDoc() ;
16   
17   public ArrayList JavaDoc getDatasource() { return datasource; }
18   public void setDatasource(ArrayList JavaDoc list) { this.datasource = list; }
19   
20   static public class DataSourceConfig {
21     private String JavaDoc name ;
22     private String JavaDoc jndi ;
23     
24     public String JavaDoc getJndi() { return jndi; }
25     public void setJndi(String JavaDoc jndi) { this.jndi = jndi; }
26     
27     public String JavaDoc getName() { return name; }
28     public void setName(String JavaDoc name) { this.name = name; }
29   }
30 }
31
Popular Tags