//PM:19/2/08 setting the name uses the naming strategy
try {
ObjectName objectName = SystemAgent.getStrategy().getObjectName(this, pValue.toString());
this.setObjectName(objectName);
} catch (MalformedObjectNameException e) {
UsageException errorVar = new UsageException("Cannot set SystemAgent name to: " + pValue, e);
ErrorMgr.addError(errorVar);
throw errorVar;
} catch (NullPointerException e) {
UsageException errorVar = new UsageException("Cannot set SystemAgent name to: " + pValue, e);
ErrorMgr.addError(errorVar);
throw errorVar;
}
this.agentInfo.setAgentName(pValue.toString());