public interface ModuleConfigurationFactory2 extends ModuleConfigurationFactory
ModuleConfigurationFactory
providing also access to
server instance URL.Modifier and Type | Method and Description |
---|---|
ModuleConfiguration |
create(J2eeModule j2eeModule,
String instanceUrl)
Creates a
ModuleConfiguration instance associated with the specified
J2EE module. |
create
ModuleConfiguration create(@NonNull J2eeModule j2eeModule, @NonNull String instanceUrl) throws ConfigurationException
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.j2eeModule
- J2EE module the created ModuleConfigucation should be
associated withinstanceUrl
- URL of the target server instanceConfigurationException