cz.cuni.amis.pogamut.base.utils
Class PogamutPlatformProxy
java.lang.Object
cz.cuni.amis.pogamut.base.utils.PogamutPlatformProxy
- All Implemented Interfaces:
- PogamutPlatform
public abstract class PogamutPlatformProxy
- extends java.lang.Object
- implements PogamutPlatform
Used for programatical substitution of properties.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PogamutPlatformProxy
public PogamutPlatformProxy(PogamutPlatform platform)
getMBeanServerConnection
public javax.management.MBeanServerConnection getMBeanServerConnection()
throws PogamutException
- Specified by:
getMBeanServerConnection
in interface PogamutPlatform
- Returns:
- Connection to a remote MBeanServer
- Throws:
PogamutException
setProperty
public void setProperty(java.lang.String key,
java.lang.String value)
getProperty
public java.lang.String getProperty(java.lang.String key)
- Specified by:
getProperty
in interface PogamutPlatform
getProperty
public java.lang.String getProperty(java.lang.String key,
java.lang.String def)
- Specified by:
getProperty
in interface PogamutPlatform
close
public void close()
throws PogamutException
- Description copied from interface:
PogamutPlatform
- Used to shutdown the Pogamut platform - currently it only stops JMX.
- Specified by:
close
in interface PogamutPlatform
- Throws:
PogamutException
getMBeanServer
public javax.management.MBeanServer getMBeanServer()
throws PogamutException
- Specified by:
getMBeanServer
in interface PogamutPlatform
- Throws:
PogamutException
getMBeanServerURL
public javax.management.remote.JMXServiceURL getMBeanServerURL()
throws PogamutException
- Specified by:
getMBeanServerURL
in interface PogamutPlatform
- Throws:
PogamutException