KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > sync4j > framework > config > LoggingConfiguration


1 /**
2  * Copyright (C) 2003-2005 Funambol
3  *
4  *This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17  */

18 package sync4j.framework.config;
19
20 import java.util.ArrayList JavaDoc;
21
22 /**
23  * This class is just a container of LoggerConfiguration objects.
24  *
25  * @see LoggerConfiguration
26  *
27  * @author Stefano Fornari @ Funambol
28  * @version $Id: LoggingConfiguration.java,v 1.3 2005/03/02 20:57:37 harrie Exp $
29  */

30 public class LoggingConfiguration
31 implements java.io.Serializable JavaDoc {
32     
33     // ------------------------------------------------------------ Private data
34

35     private ArrayList JavaDoc loggers;
36     
37     // ------------------------------------------------------------ Constructors
38

39     /** Creates a new instance of LoggingConfiguration */
40     public LoggingConfiguration() {
41     }
42     
43     /**
44      * Getter for property loggers.
45      *
46      * @return Value of property loggers.
47      */

48     public ArrayList JavaDoc getLoggers() {
49         return loggers;
50     }
51     
52     /**
53      * Setter for property loggers.
54      *
55      * @param loggers New value of property loggers.
56      */

57     public void setLoggers(ArrayList JavaDoc loggers) {
58         this.loggers = loggers;
59     }
60     
61     // ---------------------------------------------------------- Public methods
62

63     
64 }
65
Popular Tags