* @param subAgentInfo
*/
private void remoteAddSubAgent(SystemAgent subAgent, AgentInfo subAgentInfo){
try {
// FIX:TF:28 Sep 2009:Used the lookup method instead
ObjectNamingStrategy strat = SystemAgent.getStrategy();
// FIX:TF:1 Oct 2009:Changed the first parameter to be the passed subAgent, as this is now used in the naming strategy
ObjectName objectName = strat.getObjectName(subAgent, subAgent.getName().toString());
//ObjectName objectName = new ObjectName(this.getDomainName()+":Name="+subAgent.getName());
subAgent.setObjectName(objectName);
subAgent.setDomainName(this.getDomainName() + "." + subAgent.getName());
registerMBean(subAgent, objectName);