public class DefaultPogamutPlatform extends Object implements PogamutPlatform
| Modifier and Type | Field and Description |
|---|---|
protected MBeanServerConnection |
mbsc |
| Constructor and Description |
|---|
DefaultPogamutPlatform() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Used to shutdown the Pogamut platform - currently it only stops JMX.
|
boolean |
getBooleanProperty(String key) |
int |
getIntProperty(String key) |
MBeanServer |
getMBeanServer()
Returns MBeans server for the Pogamut Platform.
|
MBeanServerConnection |
getMBeanServerConnection() |
JMXServiceURL |
getMBeanServerURL() |
String |
getProperty(String key)
Returns property value.
|
String |
getProperty(String key,
String def) |
protected int |
getRMIPort() |
protected MBeanServerConnection mbsc
public JMXServiceURL getMBeanServerURL() throws cz.cuni.amis.utils.exception.PogamutException
getMBeanServerURL in interface PogamutPlatformcz.cuni.amis.utils.exception.PogamutExceptionprotected int getRMIPort()
throws cz.cuni.amis.utils.exception.PogamutException
cz.cuni.amis.utils.exception.PogamutExceptionpublic MBeanServer getMBeanServer() throws cz.cuni.amis.utils.exception.PogamutException
getMBeanServer in interface PogamutPlatformcz.cuni.amis.utils.exception.PogamutExceptionpublic void close()
throws cz.cuni.amis.utils.exception.PogamutException
PogamutPlatformclose in interface PogamutPlatformcz.cuni.amis.utils.exception.PogamutExceptionpublic String getProperty(String key, String def)
getProperty in interface PogamutPlatformkey - def - DefaultPogamutPlatform.getProperty(String)public String getProperty(String key)
set MY_PROP=hello)getProperty in interface PogamutPlatformkey - public MBeanServerConnection getMBeanServerConnection() throws cz.cuni.amis.utils.exception.PogamutException
getMBeanServerConnection in interface PogamutPlatformcz.cuni.amis.utils.exception.PogamutExceptionpublic int getIntProperty(String key)
getIntProperty in interface PogamutPlatformpublic boolean getBooleanProperty(String key)
getBooleanProperty in interface PogamutPlatformCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.