Package net.jini.jeri

Examples of net.jini.jeri.BasicILFactory


     * @throws java.rmi.server.ExportException If the exporter cannot be
     * created
     */
    public ServiceProvisionEventHandler() throws ExportException {
        exporter = new BasicJeriExporter(TcpServerEndpoint.getInstance(0),
                                         new BasicILFactory(),
                                         false,
                                         true);
        provisionListener = (ServiceProvisionListener) exporter.export(this);
    }
View Full Code Here


public class BasicEventListener implements RemoteEventListener {
    private final List<RemoteEvent> events = new ArrayList<RemoteEvent>();

    RemoteEventListener export() throws ExportException {
        Exporter exporter = new BasicJeriExporter(TcpServerEndpoint.getInstance(0),
                                                  new BasicILFactory(),
                                                  false,
                                                  true);
        return (RemoteEventListener) exporter.export(this);
    }
View Full Code Here

                logger.warn("Getting provisionListenerExporter, use default", e);
            }
            /* If we still dont have an exporter create a default one */
            if(exporter==null) {
                exporter = new BasicJeriExporter(TcpServerEndpoint.getInstance(0),
                                                 new BasicILFactory(),
                                                 false,
                                                 true);
            }
        }
        try {
View Full Code Here

                logger.warn("Getting provisionListenerExporter, use default", e);
            }
            /* If we still don't have an exporter create a default one */
            if(exporter==null) {
                exporter = new BasicJeriExporter(TcpServerEndpoint.getInstance(0),
                                                 new BasicILFactory(),
                                                 false,
                                                 true);
            }
        }

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

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

        return watches;
    }
   
    private void createWatchDataReplicator() throws ExportException {
        exporter = new BasicJeriExporter(TcpServerEndpoint.getInstance(0),
                                         new BasicILFactory(),
                                         false,
                                         true);
        RemoteWatchDataReplicator backend = (RemoteWatchDataReplicator) exporter.export(this);
        wdr = WatchDataReplicatorProxy.getInstance(backend, UUID.randomUUID());
    }
View Full Code Here

TOP

Related Classes of net.jini.jeri.BasicILFactory

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.