Localised curing of parts of the connector