if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG,
"Destination.doCreate(" + serverId + ',' + name + ',' + className + ',' + props + ',' + dest + ',' + type + ')');
CreateDestinationRequest cdr = new CreateDestinationRequest(serverId, name, className, props, type);
CreateDestinationReply reply = (CreateDestinationReply) getWrapper().doRequest(cdr);
dest.agentId = reply.getId();
dest.adminName = name;
// Be careful, MBean registration is now done explicitly
}