public interface WebModuleImplementation2
WebModule
.WebModuleFactory
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_DOCUMENT_BASE |
static String |
PROPERTY_WEB_INF |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add propertty change listener.
|
String |
getContextPath()
Returns the context path of the web module.
|
FileObject |
getDeploymentDescriptor()
Returns the deployment descriptor (
web.xml file) of the web module. |
FileObject |
getDocumentBase()
Returns the folder that contains sources of the static documents for
the web module (html, JSPs, etc.).
|
org.netbeans.api.j2ee.core.Profile |
getJ2eeProfile() |
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()
Returns a model describing the metadata of this web module (servlets,
resources, etc.).
|
FileObject |
getWebInf()
WEB-INF folder for the web module.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove propertty change listener.
|
static final String PROPERTY_DOCUMENT_BASE
static final String PROPERTY_WEB_INF
FileObject getDocumentBase()
String getContextPath()
org.netbeans.api.j2ee.core.Profile getJ2eeProfile()
FileObject getWebInf()
WebModuleImplementation2.getDocumentBase()
but does not need to be.
FileObject
; might be null
FileObject getDeploymentDescriptor()
web.xml
file) of the web module.
WebModuleImplementation2.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()
void addPropertyChangeListener(PropertyChangeListener listener)
void removePropertyChangeListener(PropertyChangeListener listener)