org.apache.empire.struts2.web
Interface AppContext
- All Known Implementing Classes:
- PortletContextWrapper, ServletContextWrapper
public interface AppContext
getContextName
String getContextName()
getExternalContext
Object getExternalContext()
isPortlet
boolean isPortlet()
getMimeType
String getMimeType(String file)
getRealPath
String getRealPath(String path)
getResourcePaths
Set<String> getResourcePaths(String path)
getResource
URL getResource(String path)
throws MalformedURLException
- Throws:
MalformedURLException
log
void log(String msg)
log
void log(String message,
Throwable throwable)
getInitParameterNames
Enumeration<String> getInitParameterNames()
getInitParameter
String getInitParameter(String name)
getAttributeNames
Enumeration<String> getAttributeNames()
getAttribute
Object getAttribute(String name)
removeAttribute
void removeAttribute(String name)
setAttribute
void setAttribute(String name,
Object object)
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.