Obtain an ObjectName for the supplied bean.
Parameters: managedBean - the bean that will be exposed under thereturned ObjectName Parameters: beanKey - the key associated with this bean in the beans mappassed to the MBeanExporter the ObjectName instance throws: MalformedObjectNameException - if the resulting ObjectName is invalid