org.netbeans.modules.server/0 1.20

org.netbeans.spi.server
Interface ServerWizardProvider


public interface ServerWizardProvider

Provides the iterator and display name for addition of the new instance of the server. Implementation of this class must be registered in Servers folder in the system filesystem.


Method Summary
 String getDisplayName()
          Returns the display name of the wizard.
 WizardDescriptor.InstantiatingIterator getInstantiatingIterator()
          Returns the iterator for adding the instance.
 

Method Detail

getDisplayName

String getDisplayName()
Returns the display name of the wizard. Usually same as the server name.

Returns:
the display name of the wizard

getInstantiatingIterator

WizardDescriptor.InstantiatingIterator getInstantiatingIterator()
Returns the iterator for adding the instance. WizardDescriptor.InstantiatingIterator.instantiate() should return the ServerInstance created by the wizard.

Note that if the instance created by the wizard should be mentioned by the infrastructure (as you usually want this to happen), ServerInstanceProvider must fire change events on all registered listeners.

The Set returned by WizardDescriptor.InstantiatingIterator.instantiate() should return the created ServerInstance.

Returns:
iterator for adding the server instance

org.netbeans.modules.server/0 1.20

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