|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
The web-app element is the root of the deployment descriptor for a web application.
| Method Summary | |
|---|---|
boolean |
containsSecurityRole(java.lang.String name)
Returns true if there is a SecurityRole with the name passed |
EList |
getConstraints()
|
EList |
getContextParams()
Returns the value of the 'Context Params' containment reference list. |
EList |
getContexts()
|
EList |
getEnvEntries()
Deprecated. : Use getEnvironmentProperties() |
ErrorPage |
getErrorPageByCode(java.lang.Integer code)
Returns an ErrorPage if it has the specified error code |
ErrorPage |
getErrorPageByExceptionType(java.lang.String exceptionType)
Returns an ErrorPage given an exceptionType |
EList |
getErrorPages()
|
WelcomeFileList |
getFileList()
|
FilterMapping |
getFilterMapping(Filter aFilter)
Finds a filter mapping for a specified filter. |
EList |
getFilterMappings()
|
Filter |
getFilterNamed(java.lang.String name)
Gets refernce to the instance of Filter which has the specified name |
java.util.List |
getFilterNames()
Gets the names of the filters defined for this web application. |
EList |
getFilters()
|
int |
getJ2EEVersionID()
This returns the j2ee version id. |
JSPConfig |
getJspConfig()
Returns the value of the 'Jsp Config' containment reference |
EList |
getListeners()
|
LocalEncodingMappingList |
getLocalEncodingMappingList()
Returns the value of the 'Local Encoding Mapping List' containment reference |
LoginConfig |
getLoginConfig()
|
EList |
getMessageDestinations()
Returns the value of the 'Message Destinations' containment reference list. |
EList |
getMimeMappings()
|
java.lang.String |
getMimeType(java.lang.String extension)
Returns the mime type for the specified extension |
SecurityRole |
getSecurityRoleNamed(java.lang.String roleName)
Returns the SecurityRole with the specified name |
EList |
getSecurityRoles()
|
ServletMapping |
getServletMapping(Servlet aServlet)
Finds a servlet mapping for a specified servlet. |
EList |
getServletMappings()
|
Servlet |
getServletNamed(java.lang.String name)
Returns a Servlet with the specified name |
java.util.List |
getServletNames()
Gets the names of the servlets defined for this web application. |
EList |
getServlets()
|
SessionConfig |
getSessionConfig()
|
EList |
getTagLibs()
|
java.lang.String |
getVersion()
Returns the value of the 'Version' attribute |
int |
getVersionID()
This returns the module version id. |
boolean |
isDistributable()
|
boolean |
isSetDistributable()
Returns whether the value of the ' Distributable' attribute is set |
boolean |
isVersion2_2Descriptor()
Deprecated. Use getVersionID() to determine module level |
boolean |
isVersion2_3Descriptor()
Deprecated. Use getVersionID() to determine module level |
void |
renameSecurityRole(java.lang.String existingRoleName,
java.lang.String newRoleName)
Rename the security role if it exists; for each servlet, fix the role-link on any contained role refs |
void |
setDistributable(boolean value)
|
void |
setFileList(WelcomeFileList value)
|
void |
setJspConfig(JSPConfig value)
Sets the value of the ' Jsp Config' containment reference |
void |
setLocalEncodingMappingList(LocalEncodingMappingList value)
Sets the value of the ' Local Encoding Mapping List' containment reference |
void |
setLoginConfig(LoginConfig value)
|
void |
setSessionConfig(SessionConfig value)
|
void |
setVersion(java.lang.String value)
Sets the value of the ' Version' attribute |
void |
unsetDistributable()
Unsets the value of the ' Distributable' attribute |
| Methods inherited from interface org.eclipse.jst.j2ee.common.JNDIEnvRefsGroup |
|---|
getEjbLocalRefs, getEjbRefs, getEnvironmentProperties, getMessageDestinationRefs, getResourceEnvRefs, getResourceRefs, getServiceRefs |
| Methods inherited from interface org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup |
|---|
getDescription, getDisplayName, getLargeIcon, getSmallIcon, setDescription, setDescriptionGen, setDisplayName, setDisplayNameGen, setLargeIcon, setLargeIconGen, setSmallIcon, setSmallIconGen |
| Methods inherited from interface org.eclipse.jst.j2ee.common.DescriptionGroup |
|---|
getDescriptions, getDisplayNames, getIcons |
| Method Detail |
public boolean containsSecurityRole(java.lang.String name)
name - name of the SecurityRole
public ErrorPage getErrorPageByCode(java.lang.Integer code)
code - the error code
public ErrorPage getErrorPageByExceptionType(java.lang.String exceptionType)
exceptionType - the java Exception Type
public FilterMapping getFilterMapping(Filter aFilter)
aFilter - The filter to find the mappings for.
public Filter getFilterNamed(java.lang.String name)
name - the name of the Filter to look for
public java.util.List getFilterNames()
public java.lang.String getMimeType(java.lang.String extension)
extension - to find the mime type for.
public SecurityRole getSecurityRoleNamed(java.lang.String roleName)
roleName - the name of the SecurityRole to be searched for
public ServletMapping getServletMapping(Servlet aServlet)
aServlet - The servlet to find the mappings for.
public Servlet getServletNamed(java.lang.String name)
name - the name of the Servlet to search for
public java.util.List getServletNames()
public boolean isVersion2_2Descriptor()
public boolean isVersion2_3Descriptor()
public void renameSecurityRole(java.lang.String existingRoleName,
java.lang.String newRoleName)
existingRoleName - curent security role namenewRoleName - new security role namepublic boolean isDistributable()
public void setDistributable(boolean value)
value - The new value of the Distributable attributepublic void unsetDistributable()
Distributable' attribute.
isSetDistributable(),
isDistributable(),
setDistributable(boolean)public boolean isSetDistributable()
Distributable' attribute is set.
unsetDistributable(),
isDistributable(),
setDistributable(boolean)public java.lang.String getVersion()
If the meaning of the 'Version' attribute isn't clear, there really should be more of a description here...
setVersion(String),
WebapplicationPackage.getWebApp_Version()
public int getVersionID()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - the exception is thrown if a problem is encountered in finding the
module version. *
public int getJ2EEVersionID()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - the exception is thrown if a problem is encountered in finding the
j2ee version.public void setVersion(java.lang.String value)
Version' attribute.
value - the new value of the 'Version' attribute.getVersion()public EList getContexts()
public EList getErrorPages()
public WelcomeFileList getFileList()
public EList getEnvEntries()
public void setFileList(WelcomeFileList value)
value - The new value of the FileList referencepublic EList getTagLibs()
public EList getConstraints()
public LoginConfig getLoginConfig()
public void setLoginConfig(LoginConfig value)
value - The new value of the LoginConfig referencepublic EList getMimeMappings()
public SessionConfig getSessionConfig()
public void setSessionConfig(SessionConfig value)
value - The new value of the SessionConfig referencepublic EList getServletMappings()
public EList getServlets()
public EList getSecurityRoles()
public EList getFilters()
public EList getFilterMappings()
public EList getListeners()
public EList getContextParams()
ParamValue.
If the meaning of the 'Context Params' containment reference list isn't clear, there really should be more of a description here...
WebapplicationPackage.getWebApp_ContextParams()public JSPConfig getJspConfig()
If the meaning of the 'Jsp Config' reference list isn't clear, there really should be more of a description here...
setJspConfig(JSPConfig),
WebapplicationPackage.getWebApp_JspConfig()public void setJspConfig(JSPConfig value)
Jsp Config' containment reference.
value - the new value of the 'Jsp Config' containment reference.getJspConfig()public EList getMessageDestinations()
MessageDestination.
If the meaning of the 'Message Destinations' containment reference list isn't clear, there really should be more of a description here...
WebapplicationPackage.getWebApp_MessageDestinations()public LocalEncodingMappingList getLocalEncodingMappingList()
If the meaning of the 'Local Encoding Mapping List' containment reference isn't clear, there really should be more of a description here...
setLocalEncodingMappingList(LocalEncodingMappingList),
WebapplicationPackage.getWebApp_LocalEncodingMappingList()public void setLocalEncodingMappingList(LocalEncodingMappingList value)
Local Encoding Mapping List' containment reference.
value - the new value of the 'Local Encoding Mapping List' containment reference.getLocalEncodingMappingList()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||