|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides access to a web application and its attributes.
A web application is defined in the web.xml of a portlet application
archive file. Portlet application information defined in the portlet.xml
is also accessible in this interface when the information is bound
to the application code.
Additionally, this interface allows to retrieve containing elements such
as servlets.
This interface defines the model as known from the MVC pattern. Its purpose is to provide read access to the data stored in the model.
Method Summary | |
java.lang.String |
getContextRoot()
Returns the context root of the web application. |
Description |
getDescription(java.util.Locale locale)
Returns the description of this web application for the given locale. |
DisplayName |
getDisplayName(java.util.Locale locale)
Returns the display name for the given locale of this web application. |
ObjectID |
getId()
Returns the identifier of this web application. |
ParameterSet |
getInitParameterSet()
Returns all parameters of this web application. |
SecurityRoleSet |
getSecurityRoles()
Returns the security roles defined for the web application. |
javax.servlet.ServletContext |
getServletContext(javax.servlet.ServletContext servletContext)
Returns the servlet context of this web application. |
ServletDefinitionList |
getServletDefinitionList()
Returns all servlets contained in this web application. |
Method Detail |
public ObjectID getId()
public DisplayName getDisplayName(java.util.Locale locale)
public Description getDescription(java.util.Locale locale)
public ParameterSet getInitParameterSet()
public ServletDefinitionList getServletDefinitionList()
public javax.servlet.ServletContext getServletContext(javax.servlet.ServletContext servletContext)
servletContext
- a servlet context
public java.lang.String getContextRoot()
public SecurityRoleSet getSecurityRoles()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |