Package net.jini.activation

Examples of net.jini.activation.ActivationExporter


                    activationID);
            }
      activationPrepared = true;
            exporter = (Exporter)Config.getNonNullEntry(config,
          TxnManager.MAHALO, "serverExporter", Exporter.class,
                new ActivationExporter(
        activationID,
                    new BasicJeriExporter(
      TcpServerEndpoint.getInstance(0),
      new BasicILFactory(), false, true)),
        activationID);
View Full Code Here


      }   
            activationPrepared = true;
 
            exporter = (Exporter)Config.getNonNullEntry(config,
          MERCURY, "serverExporter", Exporter.class,
    new ActivationExporter(
        activationID,
        new BasicJeriExporter(
            TcpServerEndpoint.getInstance(0),
      new BasicILFactory(), false, true)),
    activationID);
View Full Code Here

    COMPONENT_NAME,  "serverExporter", Exporter.class,
    basicExporter);
  } else {
      exporter = (Exporter)Config.getNonNullEntry(config,
    COMPONENT_NAME,  "serverExporter", Exporter.class,
    new ActivationExporter(activationID, basicExporter),
    activationID);
  }

  ourRemoteRef = (OutriggerServer)exporter.export(serverGate);
View Full Code Here

                    activationID);
            }
      activationPrepared = true;
            exporter = (Exporter)Config.getNonNullEntry(config,
          TxnManager.MAHALO, "serverExporter", Exporter.class,
                new ActivationExporter(
        activationID,
                    new BasicJeriExporter(
      TcpServerEndpoint.getInstance(0),
      new BasicILFactory(), false, true)),
        activationID);
View Full Code Here

    Exporter getExporter(Configuration config)
  throws ConfigurationException
    {
  Exporter result = (Exporter) Config.getNonNullEntry(
      config, NORM, "serverExporter", Exporter.class,
      new ActivationExporter(
    activationID,
    new BasicJeriExporter(
        TcpServerEndpoint.getInstance(0), new BasicILFactory())),
      activationID);
  return result;
View Full Code Here

   * Would like to get this entry sooner, but need to use
   * the prepared activationID.
   */
  exporter = (Exporter) config.getEntry(
                START_PACKAGE, "exporter", Exporter.class,
    new ActivationExporter(
        activationID,
        new BasicJeriExporter(
      TcpServerEndpoint.getInstance(0),
      new BasicILFactory(), false, true)),
    activationID);
View Full Code Here

    activationSystemPreparer.prepareProxy(
        ActivationGroup.getSystem());

      serverExporter = (Exporter) Config.getNonNullEntry(
    config, COMPONENT, "serverExporter", Exporter.class,
    new ActivationExporter(
        this.activationID,
        new BasicJeriExporter(
      TcpServerEndpoint.getInstance(0),
      new BasicILFactory())),
    this.activationID);
View Full Code Here

                                                    new BasicProxyPreparer());
                activationID = (ActivationID)aidPreparer.prepareProxy
                                                               (activationID);
                activationSystem = (ActivationSystem)aSysPreparer.prepareProxy
                                                            (activationSystem);
                defaultExporter = new ActivationExporter(activationID,
                                                         defaultExporter);
            }//endif(activationID != null)
            try {
                serverExporter = (Exporter)Config.getNonNullEntry
                                                             (config,
View Full Code Here

                                                    new BasicProxyPreparer());
            activationID = (ActivationID)aidPreparer.prepareProxy
                                                               (activationID);
            activationSystem = (ActivationSystem)aSysPreparer.prepareProxy
                                                            (activationSystem);
            defaultExporter = new ActivationExporter(activationID,
                                                     defaultExporter);
        }//endif(activationID != null)

        /* Get the exporter that will be used to export this service */
        try {
View Full Code Here

    public KillerImpl(ActivationID activationID, MarshalledObject data)
  throws IOException, ClassNotFoundException
    {
  logger.log(Level.INFO, "Starting VMKiller service");
  exporter =
      new ActivationExporter(
       activationID,
       new BasicJeriExporter(TcpServerEndpoint.getInstance(0),
           new BasicILFactory()));
  ourStub = exporter.export(this);
    }
View Full Code Here

TOP

Related Classes of net.jini.activation.ActivationExporter

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.