/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* Instances are created by the service, which then
* sets the handler chain on the binding impl.
*
* <p>
* This class is made abstract as we don't see a situation when
* a BindingImpl has much meaning without binding id.
* IOW, for a specific binding there will be a class
* extending BindingImpl, for example SOAPBindingImpl.
*
* <p>
* The spi Binding interface extends Binding.
*
* @author WS Development Team
*/
//This is reset when ever Binding.setHandlerChain() or SOAPBinding.setRoles() is called.
handlerConfig = new HandlerConfiguration(Collections.<String>emptySet(), Collections.<Handler>emptyList());
}
public
return handlerConfig.getHandlerChain();
}
return handlerConfig;
}
}
public
return bindingId;
}
return bindingId.getSOAPVersion();
}
else
return addressingVersion;
}
public final
return bindingId.createEncoder(this);
}
return new HTTPBindingImpl();
else
return new SOAPBindingImpl(bindingId);
}
// Override the BindingID from the features
if (feature instanceof BindingTypeFeature) {
}
}
return new HTTPBindingImpl();
else
}
}
}
}
}
return features;
}
if (newFeatures != null) {
for (WebServiceFeature f : newFeatures) {
}
}
}
}
}