accessPoint.setValue(accessuri);
bt.setAccessPoint(accessPoint);
}
ServiceBinding sb = serviceBinding.getTargetBinding();
if (sb != null) {
HostingRedirector red = objectFactory.createHostingRedirector();
Key key = sb.getKey();
if (key != null && key.getId() != null) {
red.setBindingKey(key.getId());
} else {
red.setBindingKey("");
}
bt.setHostingRedirector(red);
} else {
if (bt.getAccessPoint() == null) {
bt.setAccessPoint(objectFactory.createAccessPoint());