|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.scopes.managers.impl.ApplicationScopeManager.ServletContext
protected class ApplicationScopeManager.ServletContext
Wraps a javax.servlet.ServletContext to appear as a Scopes-context.
Constructor Summary | |
---|---|
ApplicationScopeManager.ServletContext(javax.servlet.ServletContext context)
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns a stored attribute. |
java.util.Set<java.lang.String> |
getAttributeNames()
Returns a set of attribute names. |
void |
removeAttribute(java.lang.String name)
Removes an attribute. |
void |
setAttribute(java.lang.String name,
java.lang.Object object)
Sets an attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationScopeManager.ServletContext(javax.servlet.ServletContext context)
context
- The context to wrap.Method Detail |
---|
public java.lang.Object getAttribute(java.lang.String name)
Context
getAttribute
in interface Context
name
- The name of the attribute.
public java.util.Set<java.lang.String> getAttributeNames()
Context
getAttributeNames
in interface Context
public void setAttribute(java.lang.String name, java.lang.Object object)
Context
setAttribute
in interface Context
name
- The name of the attribute.object
- The attribute.public void removeAttribute(java.lang.String name)
Context
removeAttribute
in interface Context
name
- The attribute to remove.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |