Enhance @Conditionals for JMX autconfig

Fixes gh-1059