Package net.jini.jeri

Examples of net.jini.jeri.BasicJeriExporter


            /* Get the exporter for the remote event listener from the
             * configuration.
             */
            try {
                Exporter defaultExporter =
                      new BasicJeriExporter(TcpServerEndpoint.getInstance(0),
                                            new BasicILFactory(),
                                            false, false);
                lookupListenerExporter =
                  (Exporter)thisConfig.getEntry(COMPONENT_NAME,
                                                "eventListenerExporter",
View Full Code Here


            new ActivationGroupID[groupTable.size()]);
  activator = new ActivatorImpl();
  ServerEndpoint se = TcpServerEndpoint.getInstance(PHOENIX_PORT);
  activatorExporter =
      getExporter(config, "activatorExporter",
      new BasicJeriExporter(se, new BasicILFactory(),
                false, true,
               PhoenixConstants.ACTIVATOR_UUID));
  system = new SystemImpl();
  systemExporter =
      getExporter(config, "systemExporter",
      new BasicJeriExporter(se, new SystemAccessILFactory(),
                false, true,
                   PhoenixConstants.ACTIVATION_SYSTEM_UUID));
  monitor = new MonitorImpl();
  monitorExporter =
      getExporter(config, "monitorExporter",
      new BasicJeriExporter(se, new AccessILFactory()));
  registry = new RegistryImpl();
  registryExporter =
      getExporter(config, "registryExporter", new RegistrySunExporter());
  monitorStub = (ActivationMonitor) monitorExporter.export(monitor);
  synchronized (activatorExporter) {
View Full Code Here

 
            exporter = (Exporter)Config.getNonNullEntry(config,
          MERCURY, "serverExporter", Exporter.class,
    new ActivationExporter(
        activationID,
        new BasicJeriExporter(
            TcpServerEndpoint.getInstance(0),
      new BasicILFactory(), false, true)),
    activationID);
            if (initLogger.isLoggable(Level.CONFIG)) {
                initLogger.log(Level.CONFIG, "Activatable service exporter is: {0}",
          exporter);
      }   
  } else { //Get non-activatable configuration items
            exporter = (Exporter) Config.getNonNullEntry(config,
                MERCURY, "serverExporter", Exporter.class,
    new BasicJeriExporter(
        TcpServerEndpoint.getInstance(0),
        new BasicILFactory(), false, true));
            if (initLogger.isLoggable(Level.CONFIG)) {
                initLogger.log(Level.CONFIG,
    "Non-activatable service exporter is: {0}", exporter);   
View Full Code Here

        } else {
            LOG.info("Bypassing Build Agent UI.");
            ui = null;
        }

        exporter = new BasicJeriExporter(TcpServerEndpoint.getInstance(0),
                new BasicILFactory(), false, true);

        try {
            proxy = exporter.export(getService());
        } catch (ExportException e) {
View Full Code Here

  public Listener() throws ConfigurationException, ExportException {
      exporter = (Exporter)
    Config.getNonNullEntry(config, BROWSER, "listenerExporter",
               Exporter.class,
               new BasicJeriExporter(
               TcpServerEndpoint.getInstance(0),
               new BasicILFactory(),
               false, false));
      proxy = (RemoteEventListener) exporter.export(this);
  }
View Full Code Here

  /* What we use for the default (or in the default activatable case
   * what we make the underlying exporter).
   */
  final Exporter basicExporter =
      new BasicJeriExporter(TcpServerEndpoint.getInstance(0),
          new BasicILFactory(), false, true);
  if (activationID == null) {
      exporter = (Exporter)Config.getNonNullEntry(config,
    COMPONENT_NAME,  "serverExporter", Exporter.class,
    basicExporter);
View Full Code Here

    public NotifyReceiver() throws ConfigurationException, ExportException {
      exporter = (Exporter)
    Config.getNonNullEntry(browser.config, Browser.BROWSER,
         "listenerExporter", Exporter.class,
         new BasicJeriExporter(
               TcpServerEndpoint.getInstance(0),
               new BasicILFactory(),
               false, false));
      proxy = (RemoteEventListener) exporter.export(this);
    }
View Full Code Here

      serverExporter = (Exporter) Config.getNonNullEntry(
    config, COMPONENT, "serverExporter", Exporter.class,
    new ActivationExporter(
        this.activationID,
        new BasicJeriExporter(
      TcpServerEndpoint.getInstance(0),
      new BasicILFactory())),
    this.activationID);
  } else {
      this.activationID = null;
      activationSystem = null;

      serverExporter = (Exporter) Config.getNonNullEntry(
    config, COMPONENT, "serverExporter", Exporter.class,
    new BasicJeriExporter(
        TcpServerEndpoint.getInstance(0),
        new BasicILFactory()));
  }

  /* fetch "initial*" config entries, if first time starting up */
 
View Full Code Here

      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);
            if(initLogger.isLoggable(Level.CONFIG)) {
    initLogger.log(Level.CONFIG,
              "Activatable service exporter is: {0}", exporter);
      }
        } else {
            exporter = (Exporter) Config.getNonNullEntry(config,
                TxnManager.MAHALO, "serverExporter", Exporter.class,
                new BasicJeriExporter(
        TcpServerEndpoint.getInstance(0),
        new BasicILFactory(), false, true));
            if(initLogger.isLoggable(Level.CONFIG)) {
    initLogger.log(Level.CONFIG,
              "Non-activatable service exporter is: {0}", exporter);
View Full Code Here

            /* Get the exporter for the remote event listener from the
             * configuration.
             */
            try {
                Exporter defaultExporter =
                      new BasicJeriExporter(TcpServerEndpoint.getInstance(0),
                                            new BasicILFactory(),
                                            false, false);
                lookupListenerExporter =
                  (Exporter)thisConfig.getEntry(COMPONENT_NAME,
                                                "eventListenerExporter",
View Full Code Here

TOP

Related Classes of net.jini.jeri.BasicJeriExporter

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.