Examples of prepareProxy()


Examples of net.jini.security.ProxyPreparer.prepareProxy()

    getSharedGroupLog());

            /* Register the desired service with the activation system */
            aid = ActivateWrapper.register(
          gid, adesc, getRestart(), sys);
            aid = (ActivationID) activationIDPreparer.prepareProxy(aid);
   
            proxy = aid.activate(true);

      if(proxy != null) {
                proxy = innerProxyPreparer.prepareProxy(proxy);
View Full Code Here

Examples of net.jini.security.ProxyPreparer.prepareProxy()

            if(initLogger.isLoggable(Level.CONFIG)) {
    initLogger.log(Level.CONFIG, "activationSystemPreparer: {0}",
              activationSystemPreparer);   
      }
            activationSystem =
                (ActivationSystem) activationSystemPreparer.prepareProxy(
                    ActivationGroup.getSystem());
            if(initLogger.isLoggable(Level.CONFIG)) {
    initLogger.log(Level.CONFIG, "Prepared activation system is: {0}",
                    activationSystem);
            }
View Full Code Here

Examples of net.jini.security.ProxyPreparer.prepareProxy()

                    ProxyPreparer.class, new BasicProxyPreparer());
            if(initLogger.isLoggable(Level.CONFIG)) {
    initLogger.log(Level.CONFIG, "activationIdPreparer: {0}",
              activationIdPreparer);   
            }
      activationID = (ActivationID) activationIdPreparer.prepareProxy(
                activationID);
            if(initLogger.isLoggable(Level.CONFIG)) {
    initLogger.log(Level.CONFIG, "Prepared activationID is: {0}",
                    activationID);
            }
View Full Code Here

Examples of net.jini.security.ProxyPreparer.prepareProxy()

         ProxyPreparer.class, defaultPreparer);

      activationID =
    (ActivationID)aidPreparer.prepareProxy(activationID);
      activationSystem =
    (ActivationSystem)aSysPreparer.prepareProxy(
        ActivationGroup.getSystem());
  }


  // The preparers that all outrigger's need
View Full Code Here

Examples of net.jini.security.ProxyPreparer.prepareProxy()

        recoveredLookupLocatorPreparer);
                }
    final List prepared = new java.util.LinkedList();
                for (int i=0; i<locators.length; i++) {
                    try {
                        prepared.add(recoveredLookupLocatorPreparer.
                                     prepareProxy(locators[i]));
                    } catch (Throwable t) {
                        if(initlogger.isLoggable(Levels.HANDLED)) {
                      initlogger.log(Levels.HANDLED,
          "Exception re-preparing LookupLocator: {0}. "
View Full Code Here

Examples of net.jini.security.ProxyPreparer.prepareProxy()

  ProxyPreparer activationSystemPreparer =
      (ProxyPreparer) Config.getNonNullEntry(
    config, NORM, "activationSystemPreparer", ProxyPreparer.class,
    new BasicProxyPreparer());
  activationSystem =
      (ActivationSystem) activationSystemPreparer.prepareProxy(
    ActivationGroup.getSystem());
  ProxyPreparer activationIdPreparer = (ProxyPreparer)
      Config.getNonNullEntry(
    config, NORM, "activationIdPreparer", ProxyPreparer.class,
    new BasicProxyPreparer());
View Full Code Here

Examples of net.jini.security.ProxyPreparer.prepareProxy()

    ActivationGroup.getSystem());
  ProxyPreparer activationIdPreparer = (ProxyPreparer)
      Config.getNonNullEntry(
    config, NORM, "activationIdPreparer", ProxyPreparer.class,
    new BasicProxyPreparer());
  activationID = (ActivationID) activationIdPreparer.prepareProxy(
      activationID);
  super.initAsSubject(config);
    }

    Exporter getExporter(Configuration config)
View Full Code Here

Examples of net.jini.security.ProxyPreparer.prepareProxy()

      activationSystemPreparer.prepareProxy(
                ActivationGroup.getSystem());
        logger.log(Level.FINE, "Prepared ActivationSystem: {0}",
            activationSystem);
  activationID = (ActivationID
      activationIdPreparer.prepareProxy(activationID);
        logger.log(Level.FINEST, "Prepared ActivationID: {0}",
            activationID);

        /**
   * Would like to get this entry sooner, but need to use
View Full Code Here

Examples of net.jini.security.ProxyPreparer.prepareProxy()

      if (c instanceof com.sun.jini.qa.harness.QAConfiguration) {
      p = (ProxyPreparer) c.getEntry("test",
                 "fiddlerRegistrationPreparer",
                 ProxyPreparer.class);
      }
      registrationMap.put(p.prepareProxy(ldsReg),listener);
  } catch (ConfigurationException e) {
      throw new RemoteException("Configuration Error", e);
  }
    }//end doRegistration
View Full Code Here

Examples of net.jini.security.ProxyPreparer.prepareProxy()

      ProxyPreparer p = (ProxyPreparer) c.getEntry("test",
               "fiddlerLeasePreparer",
               ProxyPreparer.class);
      Lease l = reg.getLease();
      logger.log(Level.FINEST, "Returning prepared fiddler lease");
      return (Lease) p.prepareProxy(l);
  } catch (ConfigurationException e) {
      throw new RemoteException("Configuration Error", e);
  }
    }
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.