1 package cz.cuni.amis.pogamut.base.utils;
2
3 import cz.cuni.amis.utils.exception.PogamutException;
4
5 import javax.management.MBeanServer;
6 import javax.management.MBeanServerConnection;
7 import javax.management.remote.JMXServiceURL;
8
9 public interface PogamutPlatform {
10
11
12
13
14
15 public MBeanServerConnection getMBeanServerConnection() throws PogamutException;
16
17 public String getProperty(String key);
18
19 public int getIntProperty(String key);
20
21 public boolean getBooleanProperty(String key);
22
23 public String getProperty(String key, String def);
24
25
26
27
28
29 public void close() throws PogamutException;
30
31 public MBeanServer getMBeanServer() throws PogamutException;
32
33 public JMXServiceURL getMBeanServerURL() throws PogamutException;
34 }