Examples of JoinManager


Examples of net.jini.lookup.JoinManager

      dgm.setGroups(lookupGroups);
      dlm.setLocators(lookupLocators);
  } catch (ClassCastException e) {
      throw new ConfigurationException(null, e);
  }
  joiner = new JoinManager(proxy, lookupAttrs, myServiceID,
         discoer, null, config);

  /* start up all the daemon threads */
  serviceExpirer.start();
  eventExpirer.start();
 
View Full Code Here

Examples of net.jini.lookup.JoinManager

  ((DiscoveryLocatorManagement)dm).setLocators(locators);

        if(initlogger.isLoggable(Level.FINEST)) {
      initlogger.log(Level.FINEST, "Creating JoinManager");
        }
  mgr = new JoinManager(service, attributes, serviceID,
            dm, null, config);
        // Once we are running we don't need the attributes,
        // locators, and groups fields, null them out (the
        // state is in the mgr and dm.
        attributes = null;
View Full Code Here

Examples of net.jini.lookup.JoinManager

  }

  dgm.setGroups(groups);
  ((DiscoveryLocatorManagement)dgm).setLocators(locators);

  mgr = new JoinManager(service, attributes, serviceID,
            (DiscoveryManagement)dgm, null, config);

  // Once we are running we don't need the attributes,
  // locators, and groups fields, null them out (the
  // state is in the mgr and dgm.
View Full Code Here

Examples of net.jini.lookup.JoinManager

      serviceID.getLeastSignificantBits());

  if (initLogger.isLoggable(Level.FINEST)) {
            initLogger.log(Level.FINEST, "Creating JoinManager.");
  }
  joiner = new JoinManager(
      mailboxProxy,                // service object
      lookupAttrs,               // service attributes
      lookupID,                 // Service ID
      lookupDiscMgr,             // DiscoveryManagement ref - default
      null,                      // LeaseRenewalManager reference
View Full Code Here

Examples of net.jini.lookup.JoinManager

            LookupDiscoveryManager mgr = new LookupDiscoveryManager(groups,
                    unicastLocators, // unicast locators
                    this); // DiscoveryListener

            if (serviceID != null) {
                new JoinManager(proxy, // service proxy
                        entries, // attr sets
                        serviceID, // ServiceID
                        mgr, // DiscoveryManager
                        new LeaseRenewalManager());
            } else {
                new JoinManager(proxy, // service proxy
                        entries, // attr sets
                        this, // ServiceIDListener
                        mgr, // DiscoveryManager
                        new LeaseRenewalManager());
            }
View Full Code Here

Examples of net.jini.lookup.JoinManager

            LOG.error(message, e);
            throw new RuntimeException(message, e);
        }

        try {
            joinManager = new JoinManager(getProxy(), entries, this, null, null);
        } catch (IOException e) {
            final String message = "Error starting discovery";
            LOG.error(message, e);
            throw new RuntimeException(message, e);
        }
View Full Code Here

Examples of net.jini.lookup.JoinManager

      dgm.setGroups(lookupGroups);
      dlm.setLocators(lookupLocators);
  } catch (ClassCastException e) {
      throw new ConfigurationException(null, e);
  }
  joiner = new JoinManager(proxy, lookupAttrs, myServiceID,
         discoer, null, config);

  /* start up all the daemon threads */
  serviceExpirer.start();
  eventExpirer.start();
 
View Full Code Here

Examples of net.jini.lookup.JoinManager

      serviceID.getLeastSignificantBits());

  if (initLogger.isLoggable(Level.FINEST)) {
            initLogger.log(Level.FINEST, "Creating JoinManager.");
  }
  joiner = new JoinManager(
      mailboxProxy,                // service object
      lookupAttrs,               // service attributes
      lookupID,                 // Service ID
      lookupDiscMgr,             // DiscoveryManagement ref - default
      null,                      // LeaseRenewalManager reference
View Full Code Here

Examples of net.jini.lookup.JoinManager

  ((DiscoveryLocatorManagement)dm).setLocators(locators);

        if(initlogger.isLoggable(Level.FINEST)) {
      initlogger.log(Level.FINEST, "Creating JoinManager");
        }
  mgr = new JoinManager(service, attributes, serviceID,
            dm, null, config);
        // Once we are running we don't need the attributes,
        // locators, and groups fields, null them out (the
        // state is in the mgr and dm.
        attributes = null;
View Full Code Here

Examples of net.jini.lookup.JoinManager

  // Create DiscoveryManager
  createDiscoveryManager();

  // Create JoinManager
  try {
      joinMgr = new JoinManager(service, attributes, serviceID, dm, lrm,
              config);
  } catch (IOException e) {
      IOException e2 = new IOException(
    "Problem starting JoinManager: " + e.getMessage());
      e2.initCause(e2);
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.