org.netbeans.modules.j2ee.deployment.plugins.spi.config
Interface ModuleConfigurationFactory2
- All Superinterfaces:
- ModuleConfigurationFactory
public interface ModuleConfigurationFactory2
- extends ModuleConfigurationFactory
Extension of ModuleConfigurationFactory providing also access to
server instance URL.
- Since:
- 1.74
create
ModuleConfiguration create(@NonNull
J2eeModule j2eeModule,
@NonNull
String instanceUrl)
throws ConfigurationException
- Creates a
ModuleConfiguration instance associated with the specified
J2EE module. This method is strictly preferred over
ModuleConfigurationFactory.create(org.netbeans.modules.j2ee.deployment.devmodules.api.J2eeModule)
whenever the server instance is known.
- Parameters:
j2eeModule - J2EE module the created ModuleConfigucation should be
associated withdeployment - URL of the target server instance
- Returns:
- ModuleConfiguration associated with the specified J2EE module
- Throws:
ConfigurationException