Package net.xeoh.plugins.remotediscovery.impl.common.discoverymanager

Examples of net.xeoh.plugins.remotediscovery.impl.common.discoverymanager.ExportedPlugin


                        }

                        if (!found) continue;

                        // In here we have an exported plugin
                        final ExportedPlugin exportedPlugin = new ExportedPlugin();
                        exportedPlugin.exportMethod = exportNode.get("export.method");
                        exportedPlugin.exportURI = URI.create(exportNode.get("export.uri"));
                        exportedPlugin.timeSinceExport = Long.parseLong(exportNode.get("export.time"));
                        exportedPlugin.port = exportedPlugin.exportURI.getPort();
View Full Code Here


            if (!allPluginClassNames.contains(pluginInteraceName)) continue;

            // It is, add it to the list
            exportInfo.isExported = true;

            final ExportedPlugin exported = new ExportedPlugin();
            exported.exportMethod = entry.method.name();
            exported.exportURI = entry.uri;
            exported.port = entry.uri.getPort();
            exported.timeSinceExport = System.currentTimeMillis() - entry.timeOfExport;
View Full Code Here

                    }

                    if (!found) continue;

                    // In here we have an exported plugin
                    final ExportedPlugin exportedPlugin = new ExportedPlugin();
                    exportedPlugin.exportMethod = exportNode.get("export.method", "");
                    exportedPlugin.exportURI = URI.create(exportNode.get("export.uri", ""));
                    exportedPlugin.timeSinceExport = Long.parseLong(exportNode.get("export.time", ""));
                    exportedPlugin.port = exportedPlugin.exportURI.getPort();
View Full Code Here

TOP

Related Classes of net.xeoh.plugins.remotediscovery.impl.common.discoverymanager.ExportedPlugin

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.