01: /**
02: * $RCSfile$
03: * $Revision: 37 $
04: * $Date: 2004-10-20 23:08:43 -0700 (Wed, 20 Oct 2004) $
05: *
06: * Copyright (C) 2004 Jive Software. All rights reserved.
07: *
08: * This software is published under the terms of the GNU Public License (GPL),
09: * a copy of which is included in this distribution.
10: */package org.jivesoftware.database;
11:
12: import org.jivesoftware.util.JiveBeanInfo;
13:
14: /**
15: * BeanInfo class for the DefaultConnectionProvider class.
16: *
17: * @author Jive Software
18: */
19: public class DefaultConnectionProviderBeanInfo extends JiveBeanInfo {
20:
21: public static final String[] PROPERTY_NAMES = { "driver",
22: "serverURL", "username", "password", "minConnections",
23: "maxConnections", "connectionTimeout" };
24:
25: public DefaultConnectionProviderBeanInfo() {
26: super ();
27: }
28:
29: public Class getBeanClass() {
30: return org.jivesoftware.database.DefaultConnectionProvider.class;
31: }
32:
33: public String[] getPropertyNames() {
34: return PROPERTY_NAMES;
35: }
36:
37: public String getName() {
38: return "DefaultConnectionProvider";
39: }
40: }
|