{
requiresRegistration = Boolean.TRUE;
log.debug("Producer '" + producerId + "' requires registration");
// check if the configured registration properties match the producer expectations
ModelDescription regPropDescs = serviceDescription.getRegistrationPropertyDescription();
if (regPropDescs != null)
{
// assume success, there'll be time to fail if/when needed
result.setStatus(RefreshResult.Status.SUCCESS);
List<PropertyDescription> propertyDescriptions = regPropDescs.getPropertyDescriptions();
if (propertyDescriptions != null && !propertyDescriptions.isEmpty())
{
// extract expected properties from service description
Map<QName, RegistrationProperty> descriptionsMap = getRegistrationPropertyDescriptionsFromWSRP(propertyDescriptions);