org.netbeans.core.startup/1 1.40

org.netbeans.core.startup
Class TestModuleDeployer

java.lang.Object
  extended by org.netbeans.core.startup.TestModuleDeployer

public final class TestModuleDeployer
extends Object

Interface for deploying test modules.

Since:
org.netbeans.core/1 1.1

Constructor Summary
TestModuleDeployer()
           
 
Method Summary
static void deployTestModule(File jar)
          Deploy a module in test mode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestModuleDeployer

public TestModuleDeployer()
Method Detail

deployTestModule

public static void deployTestModule(File jar)
                             throws IOException
Deploy a module in test mode. You pass the JAR file. Module system figures out the rest (i.e. whether it needs to be installed, reinstalled, etc.). The deployment is run synchronously so do not call this method from a sensitive thread (e.g. event queue), nor call it with any locks held. Best to call it e.g. from the execution engine.

Parameters:
jar - the path to the module JAR
Throws:
IOException - if there is some error in the process

org.netbeans.core.startup/1 1.40

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.