* @return Returns true if the producer could be added.
*/
public boolean addProducer(ProducerDescription desc) {
this.checkInitialized();
try {
final Producer producer = new ProducerImpl(desc.getId(),
desc.getMarkupInterfaceUrl(),
desc.getServiceDescriptionInterfaceUrl(),
desc.getRegistrationInterfaceUrl(),
desc.getPortletManagementInterfaceUrl(),
desc.getRegistrationData());
producer.setName(desc.getName());
producer.setDescription(desc.getDescription());
this.addProducer(producer);
return true;
} catch (WSRPException we) {
this.logger.error("Unable to add wsrp producer: " + desc.getId()
+ " - Continuing without configured producer.", we);