org.netbeans.modules.j2eeserver/4 1.55.0 1

org.netbeans.modules.j2ee.deployment.devmodules.api
Class ServerManager

java.lang.Object
  extended by org.netbeans.modules.j2ee.deployment.devmodules.api.ServerManager

public final class ServerManager
extends Object

ServerManager class provides access to the Server Manager dialog.

Since:
1.7

Method Summary
static String showAddServerInstanceWizard()
          Displays the add server instance wizarad and returns the ID of the added server instance.
static void showCustomizer(String serverInstanceID)
          Deprecated. use CommonServerUIs.showCustomizer(org.netbeans.api.server.ServerInstance) instead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

showCustomizer

public static void showCustomizer(String serverInstanceID)
Deprecated. use CommonServerUIs.showCustomizer(org.netbeans.api.server.ServerInstance) instead

Display the modal Server Manager dialog with the specified server instance preselected. This method should be called form the AWT event dispatch thread.

Parameters:
serverInstanceID - server instance which should be preselected, if null the first server instance will be preselected.
Throws:
IllegalThreadStateException - if the method is not called from the event dispatch thread.

showAddServerInstanceWizard

public static String showAddServerInstanceWizard()
Displays the add server instance wizarad and returns the ID of the added server instance. It is intended for J2EE related code only.

Returns:
server instance ID of the new server instance, or null if the wizard was cancelled.
Throws:
IllegalThreadStateException - if the method is not called from the event dispatch thread.
Since:
1.28

org.netbeans.modules.j2eeserver/4 1.55.0 1

Built on December 1 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.