Shamelessly plagiarized from MBeanResourceDiscoveryComponent.performDiscovery(),
since that method has a fixed reference to objectName property
NOTE that this method also overrides the discovered resource's objectName to be the actual bean name,
hence the default MBeanResourceComponent will still work