Changed JmxService to singleton instead of all static methods and static
member variables.