public ServiceHandler activateBinding(QName name, BindingModel config) {
HttpBindingModel binding = (HttpBindingModel)config;
binding.setEnvironment(_environment);
if (binding.isServiceBinding()) {
return new InboundHandler(binding, getServiceDomain());
} else {
return new OutboundHandler(binding, getServiceDomain());
}
}