KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > tapestry > contrib > mckoi > McKoiDBMBean


1 /**
2  * Redistribution and use in source and binary forms, with or without
3  * modification, are permitted provided that the following conditions
4  * are met:
5  *
6  * 1. Redistributions of source code must retain the above copyright
7  * notice, this list of conditions and the following disclaimer.
8  * 2. Redistributions in binary form must reproduce the above
9  * copyright notice, this list of conditions and the following
10  * disclaimer in the documentation and/or other materials provided
11  * with the distribution.
12  * 3. The name of the author may not be used to endorse or promote
13  * products derived from this software without specific prior
14  * written permission.
15  *
16  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19  * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
20  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
22  * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
24  * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
25  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
26  * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27  */

28
29 package net.sf.tapestry.contrib.mckoi;
30
31 import org.jboss.system.ServiceMBean;
32
33 /**
34  * MBean interface for {@link net.sf.tapestry.contrib.mckoi.McKoiDB}.
35  *
36  * @author Howard Lewis Ship
37  * @version $Id: McKoiDBMBean.java,v 1.1 2003/05/05 10:36:06 toby Exp $
38  * @since 1.0.8
39  *
40  **/

41
42 public interface McKoiDBMBean extends ServiceMBean
43 {
44     public String JavaDoc getConfigPath();
45     
46     /**
47      * Sets the config path, the path to a properties file that sets database
48      * parameters.
49      *
50      **/

51     
52     public void setConfigPath(String JavaDoc path);
53 }
Popular Tags