|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebApp
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 |
org.eclipse.emf.common.util.EList |
getConstraints()
|
org.eclipse.emf.common.util.EList |
getContextParams()
Returns the value of the 'Context Params' containment reference list. |
org.eclipse.emf.common.util.EList |
getContexts()
|
org.eclipse.emf.common.util.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 |
org.eclipse.emf.common.util.EList |
getErrorPages()
|
WelcomeFileList |
getFileList()
|
FilterMapping |
getFilterMapping(Filter aFilter)
Finds a filter mapping for a specified filter. |
org.eclipse.emf.common.util.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. |
org.eclipse.emf.common.util.EList |
getFilters()
|
int |
getJ2EEVersionID()
This returns the j2ee version id. |
JSPConfig |
getJspConfig()
Returns the value of the 'Jsp Config' containment reference |
org.eclipse.emf.common.util.EList |
getListeners()
|
LocalEncodingMappingList |
getLocalEncodingMappingList()
Returns the value of the 'Local Encoding Mapping List' containment reference |
LoginConfig |
getLoginConfig()
|
org.eclipse.emf.common.util.EList |
getMessageDestinations()
Returns the value of the 'Message Destinations' containment reference list. |
org.eclipse.emf.common.util.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 |
org.eclipse.emf.common.util.EList |
getSecurityRoles()
|
ServletMapping |
getServletMapping(Servlet aServlet)
Finds a servlet mapping for a specified servlet. |
org.eclipse.emf.common.util.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. |
org.eclipse.emf.common.util.EList |
getServlets()
|
SessionConfig |
getSessionConfig()
|
org.eclipse.emf.common.util.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 |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
|---|
boolean containsSecurityRole(java.lang.String name)
name - name of the SecurityRole
ErrorPage getErrorPageByCode(java.lang.Integer code)
code - the error code
ErrorPage getErrorPageByExceptionType(java.lang.String exceptionType)
exceptionType - the java Exception Type
FilterMapping getFilterMapping(Filter aFilter)
aFilter - The filter to find the mappings for.
Filter getFilterNamed(java.lang.String name)
name - the name of the Filter to look for
java.util.List getFilterNames()
java.lang.String getMimeType(java.lang.String extension)
extension - to find the mime type for.
SecurityRole getSecurityRoleNamed(java.lang.String roleName)
roleName - the name of the SecurityRole to be searched for
ServletMapping getServletMapping(Servlet aServlet)
aServlet - The servlet to find the mappings for.
Servlet getServletNamed(java.lang.String name)
name - the name of the Servlet to search for
java.util.List getServletNames()
boolean isVersion2_2Descriptor()
boolean isVersion2_3Descriptor()
void renameSecurityRole(java.lang.String existingRoleName,
java.lang.String newRoleName)
existingRoleName - curent security role namenewRoleName - new security role nameboolean isDistributable()
void setDistributable(boolean value)
value - The new value of the Distributable attributevoid unsetDistributable()
Distributable' attribute.
isSetDistributable(),
isDistributable(),
setDistributable(boolean)boolean isSetDistributable()
Distributable' attribute is set.
unsetDistributable(),
isDistributable(),
setDistributable(boolean)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()
int getVersionID()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - the exception is thrown if a problem is encountered in finding the
module version. *
int getJ2EEVersionID()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - the exception is thrown if a problem is encountered in finding the
j2ee version.void setVersion(java.lang.String value)
Version' attribute.
value - the new value of the 'Version' attribute.getVersion()org.eclipse.emf.common.util.EList getContexts()
org.eclipse.emf.common.util.EList getErrorPages()
WelcomeFileList getFileList()
org.eclipse.emf.common.util.EList getEnvEntries()
void setFileList(WelcomeFileList value)
value - The new value of the FileList referenceorg.eclipse.emf.common.util.EList getTagLibs()
org.eclipse.emf.common.util.EList getConstraints()
LoginConfig getLoginConfig()
void setLoginConfig(LoginConfig value)
value - The new value of the LoginConfig referenceorg.eclipse.emf.common.util.EList getMimeMappings()
SessionConfig getSessionConfig()
void setSessionConfig(SessionConfig value)
value - The new value of the SessionConfig referenceorg.eclipse.emf.common.util.EList getServletMappings()
org.eclipse.emf.common.util.EList getServlets()
org.eclipse.emf.common.util.EList getSecurityRoles()
org.eclipse.emf.common.util.EList getFilters()
org.eclipse.emf.common.util.EList getFilterMappings()
org.eclipse.emf.common.util.EList getListeners()
org.eclipse.emf.common.util.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()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()void setJspConfig(JSPConfig value)
Jsp Config' containment reference.
value - the new value of the 'Jsp Config' containment reference.getJspConfig()org.eclipse.emf.common.util.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()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()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 | |||||||||