This document lists changes made to the WebModule API.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
WebModuleExtender.Savable
interface
WebFrameworkProvider.extend()
and WebFrameworkProvider.getConfigurationPanel()
WebModule.getJavaSources
WebFrameworkProvider.getServletPath()
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.api.web.webmodule > 1.20
WebModuleExtender.Savable
interface
WebFrameworkProvider.extend()
and WebFrameworkProvider.getConfigurationPanel()
WebModule.getJavaSources
WebFrameworkProvider.getServletPath()
org.netbeans.modules.web.spi.webmodule.FrameworkConfigurationPanel
WebFrameworkProvider.extend()
and WebFrameworkProvider.getConfigurationPanel()
org.netbeans.modules.web.api.webmodule.RequestParametersQuery
org.netbeans.modules.web.spi.webmodule.RequestParametersQueryImplementation
org.netbeans.modules.web.api.webmodule.URLCookie
org.netbeans.modules.web.spi.webmodule.WebFrameworkProvider
WebFrameworkProvider.extend()
and WebFrameworkProvider.getConfigurationPanel()
WebFrameworkProvider.getServletPath()
org.netbeans.modules.web.api.webmodule.WebFrameworks
org.netbeans.modules.web.api.webmodule.WebModule
WebModule.getJavaSources
org.netbeans.modules.web.spi.webmodule.WebModuleExtender
WebFrameworkProvider.extend()
and WebFrameworkProvider.getConfigurationPanel()
org.netbeans.modules.web.spi.webmodule.WebModuleImplementation2
WebModuleExtender.Savable
interface
Added interface WebModuleExtender.Savable
for ability to
save framework settings of already included extender after confirming
project customizer.
WebModuleImplementation2
; made by: dkonecny; issues:
#154944
Adding ability to listen on changes of document base or WEB-INF folder. WebModuleImplementation2 was introduced in this release so I'm taking advantage of it and adding requested methods.
New method requiresWebXml added. Framework specifies via this method if it reqires web.xml DD or not.
Made the WebModule API public with the stability level "under development".
WebFrameworkProvider.extend()
and WebFrameworkProvider.getConfigurationPanel()
FrameworkConfigurationPanel
WebFrameworkProvider
WebModuleExtender
; made by: abadea@netbeans.org
Deprecated methods WebFrameworkProvider.extend()
and WebFrameworkProvider.getConfigurationPanel()
.
Class WebConfigurationPanel
has been deprecated too.
Introduced a WebModuleExtender
class and a WebModule.createWebModuleExtender()
method returning it.
This allows for better encapsulation of the web module extending process.
WebModule.getJavaSources
WebModule
; made by: abadea@netbeans.org
Deprecated WebModule.getJavaSources
because its return value is not generic enough.
WebFrameworkProvider.getServletPath()
WebFrameworkProvider
; made by: ppisl@netbeans.org
Added method WebFrameworkProvider.getServletPath()
for obtaining the servlet path for a JSP.
WebFrameworks
WebFrameworkProvider
; made by: ppisl@netbeans.org
There are some frameworks like Struts, JSF, Spring etc., which extend the web applications. This change introduces the concept of a web framework provider to the Web Module API/SPI which allows to implement supporting these frameworks.
org.netbeans.modules.web.api.webmodule.URLCookie
RequestParametersQuery
RequestParametersQueryImplementation
; made by: pbuzek@netbeans.org
Node.Cookie should not be exposed in API. The URLCookie has been replaced with a query pattern with a corresponding SPI.