|
|
Clear ()
|
/* Clears (empties) the entire handler cache. */
|
|
|
Destroy ()
|
/* Destroy/Shutdown/Anti-Initializer */
|
|
|
INTEGER HandleRequest (character)
|
/* Handles a web request. A customer can specify a different handler for
each application. If this is the first request for this handler or the
cached handler is invalid, an instance of it is created.
The HandleRequest() method is then invoked in the handler instance.
@param pcHandlerName the name of the customer registered webspeed handler */
|
|
|
Initialize ()
|
/* Initializer/Startup */
|
|
|
Progress.Web.IWebHandler InvokeHandler (character)
|
/* Invokes/instantiates a webhandler.
1) Try to get from a CCS Service Manager. If a handler is returned, use this value as-is, without
caching. We ask for getService(IWebHandler, <web-handler-name>).
2) If not in debug mode, look in the cache for a webhandler. If it's valid, use it.
3) Instantiate a webhandler.
4) If not in debug mode, cache it.
@param character The webhandler name
@return IWebHandler A usable webhandler instance */
|
|
|
LOGICAL Release (character)
|
/* Releases the specified handler from the cache. This lets it be cleaned up/GC'ed.
@param character The handler to release.
@return true if the instance was found and released. otherwise false. */
|