configurationWizardFactory
public static <T extends AbstractConfigurationWizard> T configurationWizardFactory(java.lang.Class<T> wizardToConstruct,
java.lang.String id,
java.lang.Object... parameters)
Checks to see is a wizard of the specified type and id is already registered as having an
actively running process. If so, it returns the registered wizard. Otherwise, it returns a
new wizard of the specified type by calling its constructor with the specified parameters.
The newly constructed wizard is assigned the specified id.
- Parameters:
wizardToConstruct
- - the class of the wizard to return
id
- - the id of the wizard, typically this should be set to the id of whatever item the
wizard is responsible for configuring
parameters
- - zero or more parameters needed by the wizard's constructor
- Returns:
- the wizard