Minor javadoc fix
Fix generics usage
Create a JMX connection only in subclasses that actually use it