if (!cid.getServiceModel().equals("singleton"))
instanceBuilder.setAttribute("model", cid.getServiceModel());
}
else
{
InvokeFactoryDescriptor ifd = (InvokeFactoryDescriptor) ib;
instanceBuilder = _document.createElement("invoke-factory");
if (!ifd.getFactoryServiceId().equals("hivemind.BuilderFactory"))
instanceBuilder.setAttribute("service-id", qualify(ifd.getFactoryServiceId()));
if (ifd.getServiceModel() != null)
instanceBuilder.setAttribute("model", ifd.getServiceModel());
List parameters = ifd.getParameters();
if (parameters != null)
{
for (Iterator i = parameters.iterator(); i.hasNext();)
{