01: package hero.ra.config;
02:
03: import java.io.File;
04: import java.io.FileOutputStream;
05:
06: /**
07: *
08: * Bonita
09: * Copyright (C) 1999 Bull S.A.
10: * Bull 68 route de versailles 78434 Louveciennes Cedex France
11: * Further information: bonita@objectweb.org
12: *
13: * This library is free software; you can redistribute it and/or
14: * modify it under the terms of the GNU Lesser General Public
15: * License as published by the Free Software Foundation; either
16: * version 2.1 of the License, or any later version.
17: *
18: * This library is distributed in the hope that it will be useful,
19: * but WITHOUT ANY WARRANTY; without even the implied warranty of
20: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21: * Lesser General Public License for more details.
22: *
23: * You should have received a copy of the GNU Lesser General Public
24: * License along with this library; if not, write to the Free Software
25: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
26: * USA
27: *
28: *
29: --------------------------------------------------------------------------
30: * $Id$
31: *
32: --------------------------------------------------------------------------
33: */
34:
35: public interface ConfigMBean {
36: public boolean getJabberEnabled();
37:
38: public String getJabberPassword();
39:
40: public int getJabberPort();
41:
42: public String getJabberHost();
43:
44: public String getJabberUser();
45:
46: public boolean getJms();
47:
48: public String getLogLevel();
49:
50: public String getTraceLevel();
51:
52: public String getHistoric();
53:
54: public String getProperty(String key);
55:
56: public void updateJabberEnabled(boolean enabled) throws Exception;
57:
58: public void updateJabberPassword(String jabberPassword)
59: throws Exception;
60:
61: public void updateJabberPort(int jabberPort) throws Exception;
62:
63: public void updateJabberHost(String jabberServer) throws Exception;
64:
65: public void updateJabberUser(String jabberUser) throws Exception;
66:
67: public void updateJms(boolean value) throws Exception;
68:
69: public void updateLogLevel(String value) throws Exception;
70:
71: public void updateTraceLevel(String value) throws Exception;
72:
73: public void updateHistoric(String value) throws Exception;
74:
75: public void updateProperty(String key, String value)
76: throws Exception;
77: }
|