* @return The full module name, with the suffix.
* @throws Exception
*/
private String processDataSourceChanges (String module, String template, HashMap properties) throws Exception
{
ConfigInfo ci = (ConfigInfo) configMap.get(template);
if (ci == null)
throw new Exception("template does not exist: " + template);
// Append the extension if the module name does not contain it
String extension = ci.getExtension();
if (extension != null && !module.endsWith(extension))
module += extension;
// Build the mbean name from the jndi name. Note that we are actually building
// a pattern, any mbean whose name matches this pattern will do.