jmx agent path is set as a sensor to work across versions

also deprecate a needless inner class (but keep it around for rebinding)