|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.core.pool.RecyclableSupport
org.norther.tammi.core.pool.PoolableSupport
org.norther.tammi.spray.engine.context.DefaultTemplateContext
org.norther.tammi.spray.engine.DefaultContextToolFilter.InternalTemplateContext
public static class DefaultContextToolFilter.InternalTemplateContext
An internal implementation of TemplateContext.
The class is public to enable pooling.
| Field Summary |
|---|
| Fields inherited from interface org.norther.tammi.spray.engine.context.TemplateContext |
|---|
CONTEXT |
| Constructor Summary | |
|---|---|
DefaultContextToolFilter.InternalTemplateContext()
Constructs a new context. |
|
DefaultContextToolFilter.InternalTemplateContext(TemplateContext ctx)
Constructs a new context with a parent. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the context but not its parents. |
void |
dispose()
Disposes the object by setting its disposed flag. |
Content |
getContent()
Gets the content of this context. |
Object |
remove(String key)
Removes an object from the context. |
protected void |
setContextToolFilterMBean(MBeanReference filter)
Sets the context tool filter of this context. |
| Methods inherited from class org.norther.tammi.spray.engine.context.DefaultTemplateContext |
|---|
addParent, addParent, clearParents, containsKey, get, getContextToolFilter, getFilterChain, getMBeanServer, getParent, getParents, keySet, numberOfParents, put, recycle, removeParent, removeParent, setParent, size, valueBound, valueBound, values, valueUnbound, valueUnbound |
| Methods inherited from class org.norther.tammi.core.pool.PoolableSupport |
|---|
disposed, recycled |
| Methods inherited from class org.norther.tammi.core.pool.RecyclableSupport |
|---|
isDisposed, recycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.norther.tammi.core.pool.Recyclable |
|---|
isDisposed, recycle |
| Constructor Detail |
|---|
public DefaultContextToolFilter.InternalTemplateContext()
public DefaultContextToolFilter.InternalTemplateContext(TemplateContext ctx)
ctx - a parent context.| Method Detail |
|---|
public void dispose()
RecyclableSupport
dispose in interface Recyclabledispose in class DefaultTemplateContextpublic Content getContent()
TemplateContext
getContent in interface TemplateContextgetContent in class DefaultTemplateContextpublic Object remove(String key)
TemplateContext
remove in interface TemplateContextremove in class DefaultTemplateContextkey - the key.
public void clear()
TemplateContext
clear in interface TemplateContextclear in class DefaultTemplateContextprotected void setContextToolFilterMBean(MBeanReference filter)
DefaultTemplateContext
setContextToolFilterMBean in class DefaultTemplateContextfilter - the context tool filter reference.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||