|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Field Summary | |
---|---|
string | ELEMENT_SCOPE |
string | SESSION_TOOLS_KEY |
Constructor Summary | |
---|---|
ServletToolboxManager(System.Web.HttpContext httpContext) Default constructor |
Method Summary | |
---|---|
void |
AddTool(NVelocity.Tool.IToolInfo info) Overrides XMLToolboxManager to separate tools by scope. For this to work, we obviously override getToolboxContext as well. |
NVelocity.Http.Context.ToolboxContext |
getToolboxContext(object initData) Overrides XMLToolboxManager to handle the separate scopes. Application scope tools were initialized when the toolbox was loaded. Session scope tools are initialized once per session and stored in a map in the session attributes. Request scope tools are initialized on every request. |
void |
log(string s) Overrides XMLToolboxManager to log to the servlet context |
NVelocity.Tool.IToolInfo |
readToolInfo(System.Xml.XmlElement e) Overrides XMLToolboxManager to read a {@link ServletToolInfo} instead of a {@link org.apache.velocity.tools.view.ViewToolInfo}. |
Methods inherited from class NVelocity.Http.Tool.XMLToolboxManager |
---|
load, readDataInfo |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Field Detail |
---|
public string ELEMENT_SCOPE
public string SESSION_TOOLS_KEY
Constructor Detail |
---|
public ServletToolboxManager(System.Web.HttpContext httpContext)
Default constructor
Method Detail |
---|
public void AddTool(NVelocity.Tool.IToolInfo info)
Overrides XMLToolboxManager to separate tools by scope. For this to work, we obviously override getToolboxContext as well.
public NVelocity.Http.Context.ToolboxContext getToolboxContext(object initData)
Overrides XMLToolboxManager to handle the separate scopes. Application scope tools were initialized when the toolbox was loaded. Session scope tools are initialized once per session and stored in a map in the session attributes. Request scope tools are initialized on every request.
protected internal void log(string s)
Overrides XMLToolboxManager to log to the servlet context
protected internal NVelocity.Tool.IToolInfo readToolInfo(System.Xml.XmlElement e)
Overrides XMLToolboxManager to read a {@link ServletToolInfo} instead of a {@link org.apache.velocity.tools.view.ViewToolInfo}.
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |