Examples of BindingImpl


Examples of com.google.inject.internal.BindingImpl

     */
    public static Class<? extends Annotation> getScopeAnnotation(
            Binding<?> binding) {
        Class<? extends Annotation> scopeAnnotation = null;
        if (binding instanceof BindingImpl) {
            BindingImpl bindingImpl = (BindingImpl) binding;
            Scoping scoping = bindingImpl.getScoping();
            if (scoping != null) {
                scopeAnnotation = scoping.getScopeAnnotation();

                // TODO not sure why we need this hack???
                if (scopeAnnotation == null) {
View Full Code Here

Examples of com.ibm.wsdl.BindingImpl

     * @return tModelInstanceDetails object for a port
     */
    private TModelInstanceDetails constructTModelInstanceDetails(PortImpl port) {

        TModelInstanceDetails tModelInstanceDetails = new TModelInstanceDetails();
        BindingImpl binding = (BindingImpl) port.getBinding();
        PortTypeImpl portType = (PortTypeImpl) binding.getPortType();

        String tModelKey = publishPortTypeTModels(portType, tModelInstanceDetails);
        publishBindingTModel(binding, tModelKey, port.getName(), tModelInstanceDetails);

        if (businessServiceInfo.getDocuments() != null) {
View Full Code Here

Examples of com.sun.xml.internal.ws.binding.BindingImpl

    }

    @Override
    public <T> Dispatch<T> createDispatch(QName portName, WSEndpointReference wsepr, Class<T> aClass, Service.Mode mode, WebServiceFeature... features) {
        PortInfo port = safeGetPort(portName);
        BindingImpl binding = port.createBinding(features,null);
        Dispatch<T> dispatch = Stubs.createDispatch(portName, this, binding, aClass, mode, createPipeline(port, binding), wsepr);
        serviceInterceptor.postCreateDispatch((WSBindingProvider) dispatch);
        return dispatch;
    }
View Full Code Here

Examples of com.sun.xml.ws.binding.BindingImpl

                    throw new IllegalArgumentException();
            }
        }
        features.addAll(this.features);
       
        BindingImpl binding = port.createBinding(features, null, null);
        binding.setMode(mode);
        Dispatch<T> dispatch = Stubs.createDispatch(port, this, binding, aClass, mode, wsepr);
        serviceInterceptor.postCreateDispatch((WSBindingProvider) dispatch);
        return dispatch;
    }
View Full Code Here

Examples of com.sun.xml.ws.binding.BindingImpl

                    throw new IllegalArgumentException();
            }
        }
        features.addAll(this.features);
       
        BindingImpl binding = port.createBinding(features, null, null);
        binding.setMode(mode);
        Dispatch<Object> dispatch = Stubs.createJAXBDispatch(
                port, binding, jaxbContext, mode,wsepr);
         serviceInterceptor.postCreateDispatch((WSBindingProvider)dispatch);
         return dispatch;
    }
View Full Code Here

Examples of com.sun.xml.ws.binding.BindingImpl

        if (wsdlService.get(portName)==null) {
            throw new WebServiceException(
                ClientMessages.INVALID_PORT_NAME(portName,buildWsdlPortNames()));
        }

        BindingImpl binding = eif.createBinding(webServiceFeatures, portInterface);
        InvocationHandler pis = getStubHandler(binding, eif, epr);

        T proxy = createProxy(portInterface, pis);

        if (serviceInterceptor != null) {
View Full Code Here

Examples of org.apache.axis2.jaxws.binding.BindingImpl

     * Gets the right handlers for the port/service/bindings and performs injection.
     */
    protected void configureHandlers() throws Exception {
        EndpointDescription desc = AxisServiceGenerator.getEndpointDescription(this.service);
        if (desc == null) {
            this.binding = new BindingImpl("");
        } else {
            String xml = this.portInfo.getHandlersAsXML();
            HandlerChainsType handlerChains = null;
            if (xml != null) {
                ByteArrayInputStream in = new ByteArrayInputStream(xml.getBytes("UTF-8"));
View Full Code Here

Examples of org.apache.axis2.jaxws.binding.BindingImpl

     * Gets the right handlers for the port/service/bindings and performs injection.
     */
    protected void configureHandlers() throws Exception {
        EndpointDescription desc = AxisServiceGenerator.getEndpointDescription(this.service);
        if (desc == null) {
            this.binding = new BindingImpl("");
        } else {
            String xml = this.portInfo.getHandlersAsXML();
            HandlerChainsType handlerChains = null;
            if (xml != null) {
                ByteArrayInputStream in = new ByteArrayInputStream(xml.getBytes("UTF-8"));
View Full Code Here

Examples of org.apache.axis2.jaxws.binding.BindingImpl

            stop();
        }       
    }
   
    protected void setMsgContextProperties(MessageContext msgContext, AxisService service, Response response, Request request) {
        BindingImpl binding = new BindingImpl("GeronimoBinding");
        binding.setHandlerChain(chain);
        msgContext.setProperty(JAXWSMessageReceiver.PARAM_BINDING, binding);
       
        super.setMsgContextProperties(msgContext, service, response, request);
    }
View Full Code Here

Examples of org.apache.axis2.jaxws.binding.BindingImpl

     * Gets the right handlers for the port/service/bindings and performs injection.
     */
    protected void configureHandlers() throws Exception {
        EndpointDescription desc = AxisServiceGenerator.getEndpointDescription(this.service);
        if (desc == null) {
            this.binding = new BindingImpl("");
        } else {
            String xml = this.portInfo.getHandlersAsXML();
            HandlerChainsType handlerChains = null;
            if (xml != null) {
                ByteArrayInputStream in = new ByteArrayInputStream(xml.getBytes("UTF-8"));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.