ApplicationAdapterpublic class WebApplicationAdapter extends AbstractApplicationAdapter
adaptee, scope| Constructor | Description |
|---|---|
WebApplicationAdapter(javax.servlet.ServletContext servletContext) |
Instantiates a new WebApplicationAdapter.
|
| Modifier and Type | Method | Description |
|---|---|---|
<T> T |
getAttribute(java.lang.String name) |
Gets the attribute.
|
java.util.Enumeration<java.lang.String> |
getAttributeNames() |
Gets the attribute names.
|
void |
removeAttribute(java.lang.String name) |
Removes the attribute.
|
void |
setAttribute(java.lang.String name,
java.lang.Object o) |
Sets the attribute.
|
getAdaptee, getApplicationScope, toStringpublic WebApplicationAdapter(javax.servlet.ServletContext servletContext)
servletContext - the servlet contextpublic <T> T getAttribute(java.lang.String name)
ApplicationAdapterT - the generic typename - the namepublic void setAttribute(java.lang.String name,
java.lang.Object o)
ApplicationAdaptername - the nameo - the valuepublic java.util.Enumeration<java.lang.String> getAttributeNames()
ApplicationAdapterpublic void removeAttribute(java.lang.String name)
ApplicationAdaptername - the nameCopyright © 2008–2017 The Aspectran Project. All rights reserved.