Examples of ExternalEndpoint


Examples of org.apache.servicemix.common.ExternalEndpoint

    protected ExchangeProcessor createConsumerProcessor() {
        return new ConsumerProcessor(this);
    }

    protected ServiceEndpoint createExternalEndpoint() {
        return new ExternalEndpoint(getServiceUnit().getComponent().getEPRElementName(), getLocationURI(),
                        getService(), getEndpoint(), getInterfaceName());
    }
View Full Code Here

Examples of org.apache.servicemix.common.ExternalEndpoint

        }
        return in;
    }

    protected ServiceEndpoint createExternalEndpoint() {
        return new ExternalEndpoint(getServiceUnit().getComponent().getEPRElementName(),
                                    getLocationURI(),
                                    getService(),
                                    getEndpoint(),
                                    getInterfaceName());
    }
View Full Code Here

Examples of org.apache.servicemix.common.ExternalEndpoint

    }

    public synchronized void start() throws Exception {
        ServiceMixComponent component = getServiceUnit().getComponent();
        ComponentContext ctx = component.getComponentContext();
        activated = new ExternalEndpoint(component.getEPRElementName(),
                                         getLocationURI(),
                                         getService(),
                                         getEndpoint(),
                                         getInterfaceName());
        ctx.registerExternalEndpoint(activated);
View Full Code Here

Examples of org.apache.servicemix.common.ExternalEndpoint

    protected ExchangeProcessor createConsumerProcessor() {
        return new ConsumerProcessor(this);
    }

    protected ServiceEndpoint createExternalEndpoint() {
        return new ExternalEndpoint(getServiceUnit().getComponent().getEPRElementName(), getLocationURI(),
                        getService(), getEndpoint(), getInterfaceName());
    }
View Full Code Here

Examples of org.apache.servicemix.common.ExternalEndpoint

    protected ExchangeProcessor createConsumerProcessor() {
        return new ConsumerProcessor(this);
    }

    protected ServiceEndpoint createExternalEndpoint() {
        return new ExternalEndpoint(getServiceUnit().getComponent().getEPRElementName(),
                                    getLocationURI(),
                                    getService(),
                                    getEndpoint(),
                                    getInterfaceName());
    }
View Full Code Here

Examples of org.apache.servicemix.common.ExternalEndpoint

    }

    public synchronized void start() throws Exception {
        ServiceMixComponent component = getServiceUnit().getComponent();
        ComponentContext ctx = component.getComponentContext();
        activated = new ExternalEndpoint(component.getEPRElementName(),
                                         getLocationURI(),
                                         getService(),
                                         getEndpoint(),
                                         getInterfaceName());
        ctx.registerExternalEndpoint(activated);
View Full Code Here

Examples of org.apache.servicemix.common.ExternalEndpoint

        }
        return in;
    }

    protected ServiceEndpoint createExternalEndpoint() {
        return new ExternalEndpoint(getServiceUnit().getComponent().getEPRElementName(),
                                    getLocationURI(),
                                    getService(),
                                    getEndpoint(),
                                    getInterfaceName());
    }
View Full Code Here

Examples of org.apache.servicemix.jbi.servicedesc.ExternalEndpoint

     * @param provider
     * @param externalEndpoint the external endpoint to be registered, must be non-null.
     * @throws JBIException
     */
    public void registerExternalEndpoint(ComponentNameSpace cns, ServiceEndpoint externalEndpoint) throws JBIException {
        ExternalEndpoint serviceEndpoint = new ExternalEndpoint(cns, externalEndpoint);
        if (externalEndpoints.get(getKey(serviceEndpoint)) != null) {
            throw new JBIException("An external endpoint for service " + externalEndpoint.getServiceName() + " and endpoint " + externalEndpoint.getEndpointName() + " is already registered");
        }
        registerEndpoint(serviceEndpoint);
        externalEndpoints.put(getKey(serviceEndpoint), serviceEndpoint);
View Full Code Here

Examples of org.apache.servicemix.jbi.servicedesc.ExternalEndpoint

            if (cns.equals(endpoint.getComponentNameSpace())) {
                endpoints.add(endpoint);
            }
        }
        for (Iterator<ServiceEndpoint> iter = getExternalEndpoints().iterator(); iter.hasNext();) {
            ExternalEndpoint endpoint = (ExternalEndpoint) iter.next();
            if (cns.equals(endpoint.getComponentNameSpace())) {
                endpoints.add(endpoint);
            }
        }
        return asEndpointArray(endpoints);
    }
View Full Code Here

Examples of org.apache.servicemix.jbi.servicedesc.ExternalEndpoint

     * @param cns
     * @param externalEndpoint the external endpoint to be registered, must be non-null.
     * @throws JBIException
     */
    public void registerExternalEndpoint(ComponentNameSpace cns, ServiceEndpoint externalEndpoint) throws JBIException {
        ExternalEndpoint serviceEndpoint = new ExternalEndpoint(cns, externalEndpoint);
        if (externalEndpoints.get(getKey(serviceEndpoint)) != null) {
            throw new JBIException("An external endpoint for service " + externalEndpoint.getServiceName()
                                    + " and endpoint " + externalEndpoint.getEndpointName() + " is already registered");
        }
        registerEndpoint(serviceEndpoint);
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.