Examples of ActivationExporter


Examples of net.jini.activation.ActivationExporter

     * This method performs all actions mentioned in class description.
     */
    public void run() throws Exception {
        ActivationID aid = new FakeActivationID(logger);
        Exporter exporter = new FakeExporter(logger);
        ActivationExporter activationExporter =
          new ActivationExporter(aid, exporter);
        Remote fup = new MethodSetProxy(logger);
        Remote result = activationExporter.export(fup);
        assertion(result instanceof Proxy);
        boolean result2 = activationExporter.unexport(false);
        assertion(result2 == true);
        activationExporter =
          new ActivationExporter(aid, exporter);
        result = activationExporter.export(fup);
        assertion(result instanceof Proxy);
        result2 = activationExporter.unexport(true);
        assertion(result2 == true);
    }
View Full Code Here

Examples of net.jini.activation.ActivationExporter

  if (noneConfiguration) {
      serverExporter =
    new BasicJeriExporter(TcpServerEndpoint.getInstance(0),
              new BasicILFactory());
      if (activationID != null) {
    serverExporter = new ActivationExporter(activationID,
              serverExporter);
      }
  } else {
      serverExporter =
    (Exporter) Config.getNonNullEntry(config,
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.