java.lang.Object
com.sun.xml.wss.util.WSSServletContextFacade
Facade for the
ServletContext class.-
Method Summary
Modifier and TypeMethodDescriptiongetResource(String path) Looks for a file as a resource from a ServletContext.getStringAttribute(String attributeName) Don't use this method for non-string attributes.voidsetStringAttribute(String attributeName, String attributeValue) Sets the servlet context attribute.
-
Method Details
-
getResource
Looks for a file as a resource from a ServletContext.- Parameters:
path- the path of the file resource- Returns:
- URL pointing to the given config file or null
-
getVirtualServerName
- Returns:
- the configuration name of the logical host on which the ServletContext is deployed.
-
getContextPath
- Returns:
- the context path of the web application.
-
setStringAttribute
Sets the servlet context attribute. -
getStringAttribute
Don't use this method for non-string attributes.- Returns:
- the servlet context attribute.
-