Iterates over the loaded MBean infos and ObjectNames, creates an MBean for each, and
registers it with the server. This includes creating the resource object as well.
JDK 1.3.1 substitute for jdk 1.4.1 String.replaceAll()
Does not accept regular expressions...
returns the object string where all instances of target are replaced with replacement