Examples of PluginReference


Examples of org.jnode.plugin.PluginReference

        final Extension[] exts = descr.getExtensions();
        final int extLength = exts.length;
        for (int i = 0; i < extLength; i++) {
            final Extension ext = exts[i];
            final String id = ext.getExtensionPointPluginId();
            loadDependency(loader, new PluginReference(id, descr.getVersion()), descriptors);
        }
    }
View Full Code Here

Examples of org.jnode.plugin.PluginReference

    }
   
    public PluginReference getPluginReference() {
        if (reference == null) {
            // lazy creation
            reference = new PluginReference(id, version);
        }
        return reference;
    }
View Full Code Here

Examples of org.jnode.plugin.PluginReference

    private void doRun()
        throws NameNotFoundException, SyntaxMultiplicityException, PluginException, MalformedURLException {
        mgr = InitialNaming.lookup(PluginManager.NAME);
        final String version = argVersion.isSet() ? argVersion.getValue() : VmUtils.getVm().getVersion();
        final String pluginId = argPluginID.getValue();
        final PluginReference pluginRef = new PluginReference(pluginId, new Version(version));
        if (argLoaderUrl.isSet()) {
            addPluginLoader(argLoaderUrl.getValue());
        } else if (argLoad.isSet()) {
            loadPlugin(pluginRef);
        } else if (argReload.isSet()) {
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.