Examples of GridNodeDelegate


Examples of org.nebulaframework.grid.cluster.node.delegate.GridNodeDelegate

    RegistrationImpl reg = new RegistrationImpl();
    reg.setBrokerUrl(this.cluster.getClusterInfo().getServiceUrl());
    reg.setNodeId(nodeId);
    reg.setClusterId(this.cluster.getClusterId());

    GridNodeDelegate delegate = new GridNodeDelegate(nodeId, profile);
    delegate.setClassExporter(GridNodeClassExporterSupport
        .createServiceProxy(nodeId, connectionFactory));
    synchronized (this) {
      this.clusterNodes.put(nodeId, delegate)
    }
View Full Code Here

Examples of org.nebulaframework.grid.cluster.node.delegate.GridNodeDelegate

    executionInfoPanel.add(failedTasksLabel,c3);
    addUIElement("jobs."+jobId+".execution.failed", failedTasksLabel)// Add to components map
   
    /* -- Submitter Information -- */
    UUID ownerId = profile.getOwner();
    GridNodeDelegate owner = ClusterManager.getInstance().getClusterRegistrationService().getGridNodeDelegate(ownerId);
   
    JPanel ownerInfoPanel = new JPanel();
    ownerInfoPanel.setBorder(BorderFactory.createTitledBorder("Owner Information"));
    ownerInfoPanel.setLayout(new GridBagLayout());
    c.gridy = 2;
    c.ipady = 10;
    centerPanel.add(ownerInfoPanel, c);
   
    GridBagConstraints c2 = new GridBagConstraints();
   
    c2.fill = GridBagConstraints.BOTH;
    c2.weightx = 1;
    c2.weighty = 1;

    // Host Name
    ownerInfoPanel.add(new JLabel("Host Name :"),c2);
    JLabel hostNameLabel = new JLabel(owner.getProfile().getName());
    ownerInfoPanel.add(hostNameLabel, c2);
    addUIElement("jobs."+jobId+".owner.hostname", hostNameLabel)// Add to components map
   
    // Gap
    ownerInfoPanel.add(new JLabel(), c2);
   
    // Host IP Address
    ownerInfoPanel.add(new JLabel("Host IP :"), c2);
    JLabel hostIPLabel = new JLabel(owner.getProfile().getIpAddress());
    ownerInfoPanel.add(hostIPLabel,c2);
    addUIElement("jobs."+jobId+".owner.hostip", hostIPLabel)// Add to components map
   
    // Owner UUID
    c2.gridy = 1;
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.