Search in sources :

Example 6 with LocalDeploymentSpi

use of org.apache.ignite.spi.deployment.local.LocalDeploymentSpi in project ignite by apache.

the class GridManagerStopSelfTest method testStopDeploymentManager.

/**
     * @throws Exception If failed.
     */
public void testStopDeploymentManager() throws Exception {
    DeploymentSpi spi = new LocalDeploymentSpi();
    injectLogger(spi);
    ctx.config().setDeploymentSpi(spi);
    GridDeploymentManager mgr = new GridDeploymentManager(ctx);
    mgr.stop(true);
}
Also used : LocalDeploymentSpi(org.apache.ignite.spi.deployment.local.LocalDeploymentSpi) DeploymentSpi(org.apache.ignite.spi.deployment.DeploymentSpi) GridDeploymentManager(org.apache.ignite.internal.managers.deployment.GridDeploymentManager) LocalDeploymentSpi(org.apache.ignite.spi.deployment.local.LocalDeploymentSpi)

Aggregations

LocalDeploymentSpi (org.apache.ignite.spi.deployment.local.LocalDeploymentSpi)6 IgniteConfiguration (org.apache.ignite.configuration.IgniteConfiguration)3 URLClassLoader (java.net.URLClassLoader)2 Ignite (org.apache.ignite.Ignite)2 ComputeTask (org.apache.ignite.compute.ComputeTask)2 GridTestClassLoader (org.apache.ignite.testframework.GridTestClassLoader)2 URL (java.net.URL)1 GridDeploymentManager (org.apache.ignite.internal.managers.deployment.GridDeploymentManager)1 DeploymentSpi (org.apache.ignite.spi.deployment.DeploymentSpi)1 TcpDiscoverySpi (org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi)1