KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > compiere > server > CompiereCtrlMBean


1 /******************************************************************************
2  * The contents of this file are subject to the Compiere License Version 1.1
3  * ("License"); You may not use this file except in compliance with the License
4  * You may obtain a copy of the License at http://www.compiere.org/license.html
5  * Software distributed under the License is distributed on an "AS IS" basis,
6  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
7  * the specific language governing rights and limitations under the License.
8  * The Original Code is Compiere ERP & CRM Business Solution
9  * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc.
10  * Portions created by Jorg Janke are Copyright (C) 1999-2002 Jorg Janke, parts
11  * created by ComPiere are Copyright (C) ComPiere, Inc.; All Rights Reserved.
12  * Contributor(s): ______________________________________.
13  *****************************************************************************/

14 package org.compiere.server;
15
16
17 import org.jboss.system.ServiceMBean;
18
19 /**
20  * Compiere Controller & Status Info for Dialnostics only
21  *
22  * @author Jorg Janke
23  * @version $Id: CompiereCtrlMBean.java,v 1.25 2003/11/07 23:31:23 jjanke Exp $
24  */

25 public interface CompiereCtrlMBean extends ServiceMBean
26 {
27     public static final String JavaDoc NAME = "CompiereCtrl";
28     public static final String JavaDoc OBJECT_NAME = "Compiere:service=" + NAME;
29
30     /**
31      * Get Compiere Home
32      * @return Compiere Home
33      */

34     public String JavaDoc getCompiereHome();
35
36     /**
37      * Get Compiere Summary
38      * @return Compiere Summary
39      */

40     public String JavaDoc getCompiereSummary();
41
42     /**
43      * Get Database Summary
44      * @return Database Summary
45      */

46     public String JavaDoc getDatabaseSummary();
47
48     /**
49      * Get DataSource Name
50      * @return DataSource Name
51      */

52     public String JavaDoc getDataSourceName();
53
54     /**
55      * Set DataSource Name
56      * @param dataSourceName DataSource Name
57      */

58     public void setDataSourceName (String JavaDoc dataSourceName);
59
60     /**
61      * Set Log Trace Level
62      * @param traceLevel trace level
63      */

64     public void setTraceLevel (int traceLevel);
65
66     /**
67      * Get Log Trace Level
68      * @return trace level
69      */

70     public int getTraceLevel ();
71
72     /**
73      * Get Log Level Info
74      * @return log Level Info
75      */

76     public String JavaDoc getLogLevel();
77
78 } // CtrlMBean
79
Popular Tags