Package net.xeoh.plugins.base.impl.spawning

Source Code of net.xeoh.plugins.base.impl.spawning.SpawnResult

package net.xeoh.plugins.base.impl.spawning;

import net.xeoh.plugins.base.Plugin;
import net.xeoh.plugins.base.impl.registry.PluginMetaInformation;

/**
* Spawn result, encapsulates the results of our attempt to spawn
* a given plugin.
*
* @author Ralf Biedert
*/
public class SpawnResult {

    /** The actual pluggable spawned */
    public final Plugin plugin;

    /** Information on this plugin */
    public final PluginMetaInformation metaInformation;

    /**
     * Creates a new spawn results.
     *
     * @param plugin
     */
    public SpawnResult(Plugin plugin) {
        this.plugin = plugin;
        this.metaInformation = new PluginMetaInformation();
    }
}
TOP

Related Classes of net.xeoh.plugins.base.impl.spawning.SpawnResult

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.