Package org.apache.servicemix.jbi.servicedesc

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


     * @param toEp
     * @param link
     * @throws JBIException
     */
    public void registerEndpointConnection(QName fromSvc, String fromEp, QName toSvc, String toEp, String link) throws JBIException {
        LinkedEndpoint ep = new LinkedEndpoint(fromSvc, fromEp, toSvc, toEp, link);
        if (linkedEndpoints.get(getKey(ep)) != null) {
            throw new JBIException("An endpoint connection for service " + ep.getServiceName() + " and name " + ep.getEndpointName() + " is already registered");
        }
        linkedEndpoints.put(getKey(ep), ep);
        registerEndpoint(ep);
        fireEvent(ep, EndpointEvent.LINKED_ENDPOINT_REGISTERED);
    }
View Full Code Here


     * @param fromSvc
     * @param fromEp
     */
    public void unregisterEndpointConnection(QName fromSvc, String fromEp) {
        unregisterEndpoint(getKey(fromSvc, fromEp));
        LinkedEndpoint ep = (LinkedEndpoint) linkedEndpoints.remove(getKey(fromSvc, fromEp));
        fireEvent(ep, EndpointEvent.LINKED_ENDPOINT_UNREGISTERED);
    }
View Full Code Here

     * @param link
     * @throws JBIException
     */
    public void registerEndpointConnection(QName fromSvc, String fromEp,
                                           QName toSvc, String toEp, String link) throws JBIException {
        LinkedEndpoint ep = new LinkedEndpoint(fromSvc, fromEp, toSvc, toEp, link);
        if (linkedEndpoints.get(getKey(ep)) != null) {
            throw new JBIException("An endpoint connection for service " + ep.getServiceName() + " and name "
                                        + ep.getEndpointName() + " is already registered");
        }
        linkedEndpoints.put(getKey(ep), ep);
        registerEndpoint(ep);
        fireEvent(ep, EndpointEvent.LINKED_ENDPOINT_REGISTERED);
    }
View Full Code Here

     *
     * @param fromSvc
     * @param fromEp
     */
    public void unregisterEndpointConnection(QName fromSvc, String fromEp) {
        LinkedEndpoint ep = (LinkedEndpoint) linkedEndpoints.remove(getKey(fromSvc, fromEp));
        unregisterEndpoint(ep);
        fireEvent(ep, EndpointEvent.LINKED_ENDPOINT_UNREGISTERED);
    }
View Full Code Here

     * @param link
     * @throws JBIException
     */
    public void registerEndpointConnection(QName fromSvc, String fromEp,
                                           QName toSvc, String toEp, String link) throws JBIException {
        LinkedEndpoint ep = new LinkedEndpoint(fromSvc, fromEp, toSvc, toEp, link);
        if (linkedEndpoints.get(getKey(ep)) != null) {
            throw new JBIException("An endpoint connection for service " + ep.getServiceName() + " and name "
                                        + ep.getEndpointName() + " is already registered");
        }
        linkedEndpoints.put(getKey(ep), ep);
        registerEndpoint(ep);
        fireEvent(ep, EndpointEvent.LINKED_ENDPOINT_REGISTERED);
    }
View Full Code Here

     *
     * @param fromSvc
     * @param fromEp
     */
    public void unregisterEndpointConnection(QName fromSvc, String fromEp) {
        LinkedEndpoint ep = (LinkedEndpoint) linkedEndpoints.remove(getKey(fromSvc, fromEp));
        unregisterEndpoint(ep);
        fireEvent(ep, EndpointEvent.LINKED_ENDPOINT_UNREGISTERED);
    }
View Full Code Here

     * @param link
     * @throws JBIException
     */
    public void registerEndpointConnection(QName fromSvc, String fromEp,
                                           QName toSvc, String toEp, String link) throws JBIException {
        LinkedEndpoint ep = new LinkedEndpoint(fromSvc, fromEp, toSvc, toEp, link);
        if (linkedEndpoints.get(getKey(ep)) != null) {
            throw new JBIException("An endpoint connection for service " + ep.getServiceName() + " and name "
                                        + ep.getEndpointName() + " is already registered");
        }
        linkedEndpoints.put(getKey(ep), ep);
        registerEndpoint(ep);
        fireEvent(ep, EndpointEvent.LINKED_ENDPOINT_REGISTERED);
    }
View Full Code Here

     *
     * @param fromSvc
     * @param fromEp
     */
    public void unregisterEndpointConnection(QName fromSvc, String fromEp) {
        LinkedEndpoint ep = (LinkedEndpoint) linkedEndpoints.remove(getKey(fromSvc, fromEp));
        unregisterEndpoint(ep);
        fireEvent(ep, EndpointEvent.LINKED_ENDPOINT_UNREGISTERED);
    }
View Full Code Here

     * @param link
     * @throws JBIException
     */
    public void registerEndpointConnection(QName fromSvc, String fromEp,
                                           QName toSvc, String toEp, String link) throws JBIException {
        LinkedEndpoint ep = new LinkedEndpoint(fromSvc, fromEp, toSvc, toEp, link);
        if (linkedEndpoints.get(getKey(ep)) != null) {
            throw new JBIException("An endpoint connection for service " + ep.getServiceName() + " and name "
                                        + ep.getEndpointName() + " is already registered");
        }
        linkedEndpoints.put(getKey(ep), ep);
        registerEndpoint(ep);
        fireEvent(ep, EndpointEvent.LINKED_ENDPOINT_REGISTERED);
    }
View Full Code Here

     *
     * @param fromSvc
     * @param fromEp
     */
    public void unregisterEndpointConnection(QName fromSvc, String fromEp) {
        LinkedEndpoint ep = (LinkedEndpoint) linkedEndpoints.remove(getKey(fromSvc, fromEp));
        unregisterEndpoint(ep);
        fireEvent(ep, EndpointEvent.LINKED_ENDPOINT_UNREGISTERED);
    }
View Full Code Here

TOP

Related Classes of org.apache.servicemix.jbi.servicedesc.LinkedEndpoint

Copyright © 2018 www.massapicom. 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.