Examples of EndpointNode


Examples of org.fusesource.ide.jmx.camel.navigator.EndpointNode

   */
  @Override
  public IStatus handleDrop(CommonDropAdapter aDropAdapter,
      DropTargetEvent aDropTargetEvent, Object aTarget) {
    if (aTarget != null && aTarget instanceof EndpointNode) {
      EndpointNode node = (EndpointNode)aTarget;
      Object data = aDropTargetEvent.data;
      if (isSupported(data)) {
        DropHandler dh = node.createDropHandler(aDropTargetEvent);
        dh.drop(aDropTargetEvent);
        return Status.OK_STATUS;
      }
    }     
    return Status.CANCEL_STATUS;
View Full Code Here

Examples of org.talend.esb.servicelocator.client.internal.EndpointNode

    @Test
    public void getEndpoint() throws Exception {
        ServiceNodeImpl serviceNode = new ServiceNodeImpl(backend, rootNode, SERVICE_QNAME_1);

        EndpointNode endpointNode = serviceNode.getEndPoint(ENDPOINT_1);
       
        assertThat(endpointNode.getEndpointName(), equalTo(ENDPOINT_1));
      
    }
View Full Code Here

Examples of org.talend.esb.servicelocator.client.internal.EndpointNode

      
    }

    @Test
    public void getEndpoints() throws Exception {
        EndpointNode endpointNode1 = new EndpointNodeImpl(backend,serviceNode, ENDPOINT_1);
        EndpointNode endpointNode2 = new EndpointNodeImpl(backend,serviceNode, ENDPOINT_2);

        ServiceNodeImpl eqServiceNode = eq(serviceNode);
        NodeMapper<EndpointNode> anyMapper = anyObject();
        expect(backend.getChildren(eqServiceNode, anyMapper)).
            andReturn(Arrays.asList(endpointNode1, endpointNode2));
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.