public interface AppContext
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
String |
getContextName() |
Object |
getExternalContext() |
String |
getInitParameter(String name) |
Enumeration<String> |
getInitParameterNames() |
String |
getMimeType(String file) |
String |
getRealPath(String path) |
URL |
getResource(String path) |
Set<String> |
getResourcePaths(String path) |
boolean |
isPortlet() |
void |
log(String msg) |
void |
log(String message,
Throwable throwable) |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object object) |
String getContextName()
Object getExternalContext()
boolean isPortlet()
URL getResource(String path) throws MalformedURLException
MalformedURLException
void log(String msg)
Enumeration<String> getInitParameterNames()
Enumeration<String> getAttributeNames()
void removeAttribute(String name)
Copyright © 2008–2017 Apache Software Foundation. All rights reserved.