WebModuleImplementation2
@Deprecated public interface WebModuleImplementation
WebModule
.WebModuleFactory
Modifier and Type | Method and Description |
---|---|
String |
getContextPath()
Deprecated.
Returns the context path of the web module.
|
FileObject |
getDeploymentDescriptor()
Deprecated.
Returns the deployment descriptor (
web.xml file) of the web module. |
FileObject |
getDocumentBase()
Deprecated.
Returns the folder that contains sources of the static documents for
the web module (html, JSPs, etc.).
|
String |
getJ2eePlatformVersion()
Deprecated.
Returns the J2EE platform version of this module.
|
FileObject[] |
getJavaSources()
Deprecated.
This method is deprecated, because its return values does
not contain enough information about the source roots. Source roots
are usually implemented by a
org.netbeans.api.project.SourceGroup ,
which is more than just a container for a FileObject . |
MetadataModel<WebAppMetadata> |
getMetadataModel()
Deprecated.
Returns a model describing the metadata of this web module (servlets,
resources, etc.).
|
FileObject |
getWebInf()
Deprecated.
WEB-INF folder for the web module.
|
FileObject getDocumentBase()
String getContextPath()
String getJ2eePlatformVersion()
WebModule.J2EE_13_LEVEL
,
WebModule.J2EE_14_LEVEL
or
WebModule.JAVA_EE_5_LEVEL
.FileObject getWebInf()
WebModuleImplementation.getDocumentBase()
but does not need to be.
FileObject
; might be null
FileObject getDeploymentDescriptor()
web.xml
file) of the web module.
WebModuleImplementation.getWebInf()
but does not need to be.
web.xml
file; can be null.@Deprecated FileObject[] getJavaSources()
org.netbeans.api.project.SourceGroup
,
which is more than just a container for a FileObject
.Note that not all the java source roots in the project (e.g. in a freeform project) belong to the web module.
MetadataModel<WebAppMetadata> getMetadataModel()