KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jivesoftware > database > DefaultConnectionProviderBeanInfo


1 /**
2  * $RCSfile: DefaultConnectionProviderBeanInfo.java,v $
3  * $Revision: 1.1 $
4  * $Date: 2004/10/21 06:08:42 $
5  *
6  * Copyright (C) 2004 Jive Software. All rights reserved.
7  *
8  * This software is published under the terms of the GNU Public License (GPL),
9  * a copy of which is included in this distribution.
10  */

11
12 package org.jivesoftware.database;
13
14 import org.jivesoftware.util.JiveBeanInfo;
15
16 /**
17  * BeanInfo class for the DefaultConnectionProvider class.
18  *
19  * @author Jive Software
20  */

21 public class DefaultConnectionProviderBeanInfo extends JiveBeanInfo {
22
23     public static final String JavaDoc[] PROPERTY_NAMES = {
24         "driver",
25         "serverURL",
26         "username",
27         "password",
28         "minConnections",
29         "maxConnections",
30         "connectionTimeout"
31     };
32
33     public DefaultConnectionProviderBeanInfo() {
34         super();
35     }
36
37     public Class JavaDoc getBeanClass() {
38         return org.jivesoftware.database.DefaultConnectionProvider.class;
39     }
40
41     public String JavaDoc[] getPropertyNames() {
42         return PROPERTY_NAMES;
43     }
44
45     public String JavaDoc getName() {
46         return "DefaultConnectionProvider";
47     }
48 }
Popular Tags