A C D E F G H I J L N P R S T U W X

A

AbstractProcessRunner - Class in com.webhydra.slug.process
Abstract Scheduler of the SluggishProcesses.
AbstractProcessRunner() - Constructor for class com.webhydra.slug.process.AbstractProcessRunner
Creates a new instance of AbstractProcessRunner
AbstractProcessStatusTranslator - Class in com.webhydra.slug.process
Abstract IProcessStatusTranslator implementation
AbstractProcessStatusTranslator() - Constructor for class com.webhydra.slug.process.AbstractProcessStatusTranslator
 
AbstractSlugService - Class in com.webhydra.slug.process
Abstract ISlugService implementation.
AbstractSlugService() - Constructor for class com.webhydra.slug.process.AbstractSlugService
Creates a new instance of AbstractSlugService
AbstractXmlProcessStatusTranslator - Class in com.webhydra.slug.process.xml
Abstract XML ProcessStatus Translator
AbstractXmlProcessStatusTranslator() - Constructor for class com.webhydra.slug.process.xml.AbstractXmlProcessStatusTranslator
Default constructor
activeCount() - Method in interface com.webhydra.slug.process.ISlugRunner
Returns the count of all active processes
activeCount() - Method in class com.webhydra.slug.process.UnlimitedProcessRunner
Returns the count of all active processes
add(SluggishProcess, String) - Method in interface com.webhydra.slug.process.ISlugRunner
Add and execute a new SluggishProcess for execution.
add(SluggishProcess, String) - Method in class com.webhydra.slug.process.UnlimitedProcessRunner
Add and execute a new SluggishProcess for execution.
apl - Variable in class com.webhydra.slug.process.AbstractProcessRunner
Active Process List (APL)
Holds map of sessions and a map of their running processes.

C

cancel() - Method in class com.webhydra.slug.process.SluggishProcess
Iteaction point allowing cancelation of a process.
CANCELED - Static variable in class com.webhydra.slug.process.Status
Constant for canceled process
cancelProcess(String, String) - Method in class com.webhydra.slug.process.AbstractProcessRunner
Cancel process Proces is signalled using SluggishProcess.cancel() and is removed from Active Process List (APL).
cancelProcess(String, String) - Method in interface com.webhydra.slug.process.ISlugRunner
Cancel process Proces is signalled using SluggishProcess.cancel() and is removed from Active Process List (APL).
cancelProcess(HttpServletRequest, String) - Static method in class com.webhydra.slug.SlugHelper
Cancel SluggishProcess from default runner.
cancelProcess(HttpSession, String) - Static method in class com.webhydra.slug.SlugHelper
Cancel SluggishProcess from default runner.
cancelProcess(String, String) - Static method in class com.webhydra.slug.SlugHelper
Cancel SluggishProcess from default runner.
cancelProcess(String, HttpServletRequest, String) - Static method in class com.webhydra.slug.SlugHelper
Cancel SluggishProcess This method is simple wrapper arround consumeProcess(String, String, String).
cancelProcess(String, HttpSession, String) - Static method in class com.webhydra.slug.SlugHelper
CancelSluggishProcess This method is simple wrapper arround consumeProcess(String, String, String).
cancelProcess(String, String, String) - Static method in class com.webhydra.slug.SlugHelper
Cancel SluggishProcess
checkProcess(String, String) - Method in class com.webhydra.slug.process.AbstractProcessRunner
Checks process status
checkProcess(String, String) - Method in interface com.webhydra.slug.process.ISlugRunner
Checks process status
ClassDefTagHandler - Class in com.webhydra.slug.tld
Genrates all Slug related JavaScript Classes.
ClassDefTagHandler() - Constructor for class com.webhydra.slug.tld.ClassDefTagHandler
 
className - Variable in class com.webhydra.slug.InstanceDef
 
cleanSession(String) - Method in class com.webhydra.slug.process.AbstractProcessRunner
Remove all processes for specified session.
cleanSession(String) - Method in interface com.webhydra.slug.process.ISlugRunner
Remove all processes for specified session.
clear() - Method in class com.webhydra.slug.process.AbstractProcessRunner
Cancels all running processes and removes them from this instance.
clear() - Method in interface com.webhydra.slug.process.ISlugRunner
Cancels all running processes and removes them from this instance.
com.webhydra.slug - package com.webhydra.slug
Provides the main web applicaiton components Slug - Slug Servlet and SlugCleaner Slug session cleaner as well as the application access utility SlugHelper.
com.webhydra.slug.process - package com.webhydra.slug.process
Provides Sluggish Process, Status and Runner.
com.webhydra.slug.process.javascript - package com.webhydra.slug.process.javascript
JavaScript IProcessStatusTranslator implementation.
com.webhydra.slug.process.xml - package com.webhydra.slug.process.xml
XML IProcessStatusTranslator implementations.
com.webhydra.slug.tld - package com.webhydra.slug.tld
Slug's JSP Tag Library.
COMPLETED - Static variable in class com.webhydra.slug.process.Status
Constant for completed process
consumeProcess(String, String) - Method in class com.webhydra.slug.process.AbstractProcessRunner
Remove specified process from the Active Process List (APL).
consumeProcess(String, String) - Method in interface com.webhydra.slug.process.ISlugRunner
Remove specified process from the Active Process List (APL).
consumeProcess(HttpServletRequest, String) - Static method in class com.webhydra.slug.SlugHelper
Consume SluggishProcess from default runner.
consumeProcess(HttpSession, String) - Static method in class com.webhydra.slug.SlugHelper
Consume SluggishProcess from default runner.
consumeProcess(String, String) - Static method in class com.webhydra.slug.SlugHelper
Consume SluggishProcess from default runner.
consumeProcess(String, HttpServletRequest, String) - Static method in class com.webhydra.slug.SlugHelper
Consume SluggishProcess This method is simple wrapper arround consumeProcess(String, String, String).
consumeProcess(String, HttpSession, String) - Static method in class com.webhydra.slug.SlugHelper
Consume SluggishProcess This method is simple wrapper arround consumeProcess(String, String, String).
consumeProcess(String, String, String) - Static method in class com.webhydra.slug.SlugHelper
Consume SluggishProcess
contentType - Variable in class com.webhydra.slug.process.AbstractProcessStatusTranslator
Holds value of property contentType.
count() - Method in class com.webhydra.slug.process.AbstractProcessRunner
Returns estimated total number of sluggish processes in this runner instance.
count() - Method in interface com.webhydra.slug.process.ISlugRunner
Returns estimated total number of sluggish processes in this runner instance.

D

destroy() - Method in class com.webhydra.slug.Slug
Overrides the default implelentation.
DIST_VERSION - Static variable in class com.webhydra.slug.Slug
CVS version of the distribution.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.webhydra.slug.Slug
Handles the HTTP GET method.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.webhydra.slug.Slug
Handles the HTTP POST method.
doTag() - Method in class com.webhydra.slug.tld.ClassDefTagHandler
Generates Slug related JavaScript opbjects.
doTag() - Method in class com.webhydra.slug.tld.SlugMgrTagHandler
Called by the container to invoke this tag.

E

execute() - Method in class com.webhydra.slug.process.SluggishProcess
Application defined method responsible for the long lasting action or series of actions.
extractParamName(String, String) - Static method in class com.webhydra.slug.PropertiesConfigParser
Extract parameter name from an indexed parameters property.

F

FAILED - Static variable in class com.webhydra.slug.process.Status
Constant for failed process

G

getClassDef() - Method in interface com.webhydra.slug.process.IProcessStatusTranslator
Generate class definition.
getClassDef() - Method in class com.webhydra.slug.process.javascript.JavaScriptProcessStatusTranslator
Generate class definition.
getClassDef() - Method in class com.webhydra.slug.process.xml.AbstractXmlProcessStatusTranslator
Generate class definition.
getContentType() - Method in class com.webhydra.slug.process.AbstractProcessStatusTranslator
Getter for property contentType.
getContentType() - Method in interface com.webhydra.slug.process.IProcessStatusTranslator
Returns the content type of translated instance.
getDocType() - Method in class com.webhydra.slug.process.xml.AbstractXmlProcessStatusTranslator
Retruns one the supported document types XML_TYPE_DTD or XML_TYPE_XSD.
getDocType() - Method in class com.webhydra.slug.process.xml.XmlDtdProcessStatusTranslator
Retruns document's type.
getDocType() - Method in class com.webhydra.slug.process.xml.XmlXsdProcessStatusTranslator
Retruns document's type.
getMessage() - Method in class com.webhydra.slug.process.ProcessStatus
Getter for property message.
getParams() - Method in class com.webhydra.slug.process.AbstractSlugService
Provides access to the setup parameters
getProcessStatus() - Method in class com.webhydra.slug.process.SluggishProcess
Getter for property status.
getProgress() - Method in class com.webhydra.slug.process.ProcessProgress
Getter for property progress.
getRunnerDefs() - Method in interface com.webhydra.slug.ISlugConfigParser
Gets all ISlugRunner implementation definitions
getRunnerDefs() - Method in class com.webhydra.slug.PropertiesConfigParser
Gets all ISlugRunner implementation definitions
getServletInfo() - Method in class com.webhydra.slug.Slug
Returns a short description of the servlet.
getSlugConfig() - Method in class com.webhydra.slug.Slug
Provides convinient acess to the cfg property.
getStatus() - Method in class com.webhydra.slug.process.ProcessStatus
Getter for property status.
getStatus(HttpServletRequest, String) - Static method in class com.webhydra.slug.SlugHelper
Retrieve ProcessStatus of a SluggishProcess from default runner.
getStatus(HttpSession, String) - Static method in class com.webhydra.slug.SlugHelper
Retrieve ProcessStatus of a SluggishProcess from default runner.
getStatus(String, String) - Static method in class com.webhydra.slug.SlugHelper
Retrieve ProcessStatus of a SluggishProcess from default runner.
getStatus(String, HttpServletRequest, String) - Static method in class com.webhydra.slug.SlugHelper
Retrieve ProcessStatus of a SluggishProcess from default runner.
getStatus(String, HttpSession, String) - Static method in class com.webhydra.slug.SlugHelper
Retrieve ProcessStatus of a SluggishProcess from default runner.
getStatus(String, String, String) - Static method in class com.webhydra.slug.SlugHelper
Retrieve ProcessStatus of a SluggishProcess from default runner.
getTranslatorDefs() - Method in interface com.webhydra.slug.ISlugConfigParser
Gets all IProcessStatusTranslator implementation definitions
getTranslatorDefs() - Method in class com.webhydra.slug.PropertiesConfigParser
 

H

hasMessage() - Method in class com.webhydra.slug.process.ProcessStatus
Check if there is a message associated to this instance

I

init(Map) - Method in class com.webhydra.slug.process.AbstractSlugService
Default implementation.
init(Map) - Method in interface com.webhydra.slug.process.ISlugService
Initialize class implelentation.
init(Map) - Method in class com.webhydra.slug.process.xml.AbstractXmlProcessStatusTranslator
Overrides the default implelemntation.
init() - Method in class com.webhydra.slug.Slug
Overrides the default implementation from javax.servlet.GenericServlet
InstanceDef - Class in com.webhydra.slug
Instance defintiopn record.
InstanceDef() - Constructor for class com.webhydra.slug.InstanceDef
 
IProcessStatusTranslator - Interface in com.webhydra.slug.process
ProcessStatus translation interface
isCompleted(Status) - Static method in class com.webhydra.slug.process.Status
Check if provided Status is completed.
isInProcess(Status) - Static method in class com.webhydra.slug.process.Status
Check if provided Status is in process.
ISlugConfigParser - Interface in com.webhydra.slug
Slug configuration parser interface.
ISlugRunner - Interface in com.webhydra.slug.process
Process scheduling and management interface.
ISlugService - Interface in com.webhydra.slug.process
Slug service interface.

J

JAVA_SCRIPT_SRC - Static variable in class com.webhydra.slug.tld.ClassDefTagHandler
Constant holding the Slug JavaScript definitions.
JAVASCRIPT_OBJECT_NAME - Static variable in class com.webhydra.slug.process.javascript.JavaScriptProcessStatusTranslator
Name of the generated JavaScript Object Class
JavaScriptProcessStatusTranslator - Class in com.webhydra.slug.process.javascript
Translates ProcessStatus to JavaScript object
JavaScriptProcessStatusTranslator() - Constructor for class com.webhydra.slug.process.javascript.JavaScriptProcessStatusTranslator
Private constructor

L

load(InputStream) - Method in interface com.webhydra.slug.ISlugConfigParser
Initializes class instance.
load(InputStream) - Method in class com.webhydra.slug.PropertiesConfigParser
Initializes class instance.
load(Properties) - Method in class com.webhydra.slug.PropertiesConfigParser
Initialize new PropertiesConfigParser instance.

N

name - Variable in class com.webhydra.slug.InstanceDef
 
NAME - Static variable in class com.webhydra.slug.Slug
Name of the servlet
newPid() - Static method in class com.webhydra.slug.process.PidGenerator
Generate new unique PID
nexPidSeq - Static variable in class com.webhydra.slug.process.PidGenerator
Holds next PID sequence extension value.

P

PARAM_NAME_CONFIG - Static variable in class com.webhydra.slug.Slug
Name of the configuration file name parameter.
PARAM_NAME_PARSER - Static variable in class com.webhydra.slug.Slug
Name of the configuration parser class name parameter.
PARAM_PID - Static variable in class com.webhydra.slug.Slug
Mandatory request parameter with PID value
PARAM_REFIRECT_URL - Static variable in class com.webhydra.slug.Slug
Parameter for redirection
PARAM_RUNNER_NAME - Static variable in class com.webhydra.slug.Slug
Optinal runner name parameter.
PARAM_USE_DOC_DEF - Static variable in class com.webhydra.slug.process.xml.AbstractXmlProcessStatusTranslator
Instantiation parameter specifing will document docType definitions
params - Variable in class com.webhydra.slug.InstanceDef
 
PATH_CANCEL - Static variable in class com.webhydra.slug.Slug
Path Info constant for the process cancelation
PATH_CONSUME - Static variable in class com.webhydra.slug.Slug
Path Info constant for the process consompsion
PATH_STATUS - Static variable in class com.webhydra.slug.Slug
Path Info constant for the status processor
PidGenerator - Class in com.webhydra.slug.process
Unique PID generator.
PidGenerator() - Constructor for class com.webhydra.slug.process.PidGenerator
 
postExecute() - Method in class com.webhydra.slug.process.SluggishProcess
Provides post execution hook for process customization.
preExecute() - Method in class com.webhydra.slug.process.SluggishProcess
Provides pre execution hook for process customization.
prepare() - Method in class com.webhydra.slug.process.AbstractProcessRunner
Initialize the APL map
prepare() - Method in class com.webhydra.slug.process.AbstractSlugService
Default empty implementation
prepare() - Method in interface com.webhydra.slug.process.ISlugService
Inform implementation that it is about ot be put in service.
prepare() - Method in class com.webhydra.slug.process.UnlimitedProcessRunner
Default empty implelemtation
prepare() - Method in class com.webhydra.slug.process.xml.AbstractXmlProcessStatusTranslator
Load document type definition.
ProcessProgress - Class in com.webhydra.slug.process
Process status with progress details.
ProcessProgress(Status, String, int) - Constructor for class com.webhydra.slug.process.ProcessProgress
Creates a new instance of ProcessProgress
processRequest(HttpServletRequest, HttpServletResponse) - Method in class com.webhydra.slug.Slug
Processes requests for both HTTP GET and POST methods.
ProcessStatus - Class in com.webhydra.slug.process
Process status
ProcessStatus(Status) - Constructor for class com.webhydra.slug.process.ProcessStatus
Creates a new instance of ProcessStatus without message
ProcessStatus(Status, String) - Constructor for class com.webhydra.slug.process.ProcessStatus
Creates a new instance of ProcessStatus
PropertiesConfigParser - Class in com.webhydra.slug
Property configuration parser.
PropertiesConfigParser() - Constructor for class com.webhydra.slug.PropertiesConfigParser
Creates a new instance of PropertiesConfigParser

R

release() - Method in class com.webhydra.slug.process.AbstractProcessRunner
Default implementation.
release() - Method in class com.webhydra.slug.process.AbstractSlugService
Default empty implementation
release() - Method in interface com.webhydra.slug.process.ISlugService
Inform implementation that it is about ot be removed from servide.
release() - Method in class com.webhydra.slug.process.UnlimitedProcessRunner
Default implementation.
reportStatus(HttpServletRequest, HttpServletResponse, ProcessStatus, IProcessStatusTranslator) - Method in class com.webhydra.slug.Slug
Report process' status
run() - Method in class com.webhydra.slug.process.SluggishProcess
Interface implementation.
RUNNING - Static variable in class com.webhydra.slug.process.Status
Constant for running process
runProcess(HttpServletRequest, SluggishProcess) - Static method in class com.webhydra.slug.SlugHelper
Add provided SluggishProcess to the specified default ISlugRunner.
runProcess(HttpSession, SluggishProcess) - Static method in class com.webhydra.slug.SlugHelper
Add provided SluggishProcess to the specified default ISlugRunner.
runProcess(String, SluggishProcess) - Static method in class com.webhydra.slug.SlugHelper
Add provided SluggishProcess to the specified default ISlugRunner.
runProcess(String, HttpServletRequest, SluggishProcess) - Static method in class com.webhydra.slug.SlugHelper
Add provided SluggishProcess to the specified ISlugRunner.
runProcess(String, HttpSession, SluggishProcess) - Static method in class com.webhydra.slug.SlugHelper
Add provided SluggishProcess to the specified ISlugRunner.
runProcess(String, String, SluggishProcess) - Static method in class com.webhydra.slug.SlugHelper
Add provided SluggishProcess to the specified ISlugRunner.

S

save(SluggishProcess, String) - Method in class com.webhydra.slug.process.AbstractProcessRunner
Save a new SluggishProcess in to the Active Process List (APL).
SEPARATOR - Static variable in class com.webhydra.slug.process.PidGenerator
Paer separatirs in the generated PIDs.
sessionCreated(HttpSessionEvent) - Method in class com.webhydra.slug.SlugCleaner
Not implemented.
sessionDestroyed(HttpSessionEvent) - Method in class com.webhydra.slug.SlugCleaner
Cleant all orphant SluggishProcess for this session Called when a session is destroyed(invalidated).
setBody(HttpServletResponse, String, String) - Method in class com.webhydra.slug.Slug
Prints provided body to the browser.
setContentType(String) - Method in class com.webhydra.slug.process.AbstractProcessStatusTranslator
Setter for property contentType.
setErrorFunction(String) - Method in class com.webhydra.slug.tld.SlugMgrTagHandler
Setter for the errorFunction attribute.
setMessage(String) - Method in class com.webhydra.slug.process.ProcessStatus
Setter for property message.
setName(String) - Method in class com.webhydra.slug.tld.SlugMgrTagHandler
Setter for property name.
setPid(String) - Method in class com.webhydra.slug.tld.SlugMgrTagHandler
Setter for the pid attribute.
setProcessStatus(ProcessStatus) - Method in class com.webhydra.slug.process.SluggishProcess
Setter for property status.
setProgress(int) - Method in class com.webhydra.slug.process.ProcessProgress
Setter for property progress.
setRawScript(boolean) - Method in class com.webhydra.slug.tld.ClassDefTagHandler
Setter for property rawScript.
setRefresh(int) - Method in class com.webhydra.slug.tld.SlugMgrTagHandler
Setter for the refresh attribute.
setRunner(String) - Method in class com.webhydra.slug.tld.SlugMgrTagHandler
Setter for the runner attribute.
setSrc(String) - Method in class com.webhydra.slug.tld.ClassDefTagHandler
Setter for the src attribute.
setStatus(Status) - Method in class com.webhydra.slug.process.ProcessStatus
Setter for property status.
setTranslator(String) - Method in class com.webhydra.slug.tld.SlugMgrTagHandler
Setter for the translator attribute.
setup - Variable in class com.webhydra.slug.process.AbstractSlugService
Holds IStatusTranslator setup information
setUpdateFunction(String) - Method in class com.webhydra.slug.tld.SlugMgrTagHandler
Setter for the updateFunction attribute.
setUrl(String) - Method in class com.webhydra.slug.tld.SlugMgrTagHandler
Setter for the url attribute.
setXmlFormat(boolean) - Method in class com.webhydra.slug.tld.ClassDefTagHandler
Setter for the xml attribute.
shouldUseDocType() - Method in class com.webhydra.slug.process.xml.AbstractXmlProcessStatusTranslator
Getter for the useDocType propertie.
Slug - Class in com.webhydra.slug
Sluggish processes interface servlet.
Slug() - Constructor for class com.webhydra.slug.Slug
 
SlugCleaner - Class in com.webhydra.slug
Session listener for orphant SluggishProcesses cleanup.
SlugCleaner() - Constructor for class com.webhydra.slug.SlugCleaner
 
SluggishProcess - Class in com.webhydra.slug.process
SluggishProcess - Extend this process and implement its execute() method in order to implement a SluggishProcess.
SluggishProcess() - Constructor for class com.webhydra.slug.process.SluggishProcess
 
SlugHelper - Class in com.webhydra.slug
Provide conviniet access to the running SluggisProcessess.
SlugHelper() - Constructor for class com.webhydra.slug.SlugHelper
 
SlugInitializationException - Exception in com.webhydra.slug
Exception thrown during Slug's initalization
SlugInitializationException(String) - Constructor for exception com.webhydra.slug.SlugInitializationException
Creates a new instance of SlugInitializationException
SlugInitializationException(String, Throwable) - Constructor for exception com.webhydra.slug.SlugInitializationException
Creates a new instance of SlugInitializationException
SlugInitializationException(Throwable) - Constructor for exception com.webhydra.slug.SlugInitializationException
Creates a new instance of SlugInitializationException
SlugMgrTagHandler - Class in com.webhydra.slug.tld
Generates SlugMgr JavaScript instance.
SlugMgrTagHandler() - Constructor for class com.webhydra.slug.tld.SlugMgrTagHandler
 
Status - Class in com.webhydra.slug.process
Process Status Enumeration
STOPPED - Static variable in class com.webhydra.slug.process.Status
Constant for stopped proccess

T

toString() - Method in class com.webhydra.slug.process.Status
Overrides the default method implementation.
translate(ProcessStatus) - Method in interface com.webhydra.slug.process.IProcessStatusTranslator
Generate process status instance.
translate(ProcessStatus) - Method in class com.webhydra.slug.process.javascript.JavaScriptProcessStatusTranslator
Generate process status instance.
translate(ProcessStatus) - Method in class com.webhydra.slug.process.xml.XmlDtdProcessStatusTranslator
Generate process status instance.
translate(ProcessStatus) - Method in class com.webhydra.slug.process.xml.XmlXsdProcessStatusTranslator
Generate process status instance.

U

UnlimitedProcessRunner - Class in com.webhydra.slug.process
Basic ISlugRunner implmentation without any thread restrictions.
UnlimitedProcessRunner() - Constructor for class com.webhydra.slug.process.UnlimitedProcessRunner
Creates a new instance of UnlimitedProcessRunner

W

WAITING - Static variable in class com.webhydra.slug.process.Status
Constant for waiting process

X

XmlDtdProcessStatusTranslator - Class in com.webhydra.slug.process.xml
XML DTD based ProcessStatus Translator.
XmlDtdProcessStatusTranslator() - Constructor for class com.webhydra.slug.process.xml.XmlDtdProcessStatusTranslator
Creates a new instance of XmlDtdProcessStatusTranslator
xmlEscape(String) - Method in class com.webhydra.slug.process.xml.AbstractXmlProcessStatusTranslator
Escape & < and > characters.
XmlXsdProcessStatusTranslator - Class in com.webhydra.slug.process.xml
XML XSD based ProcessStatus Translator.
XmlXsdProcessStatusTranslator() - Constructor for class com.webhydra.slug.process.xml.XmlXsdProcessStatusTranslator
Creates a new instance of XmlDtdProcessStatusTranslator

A C D E F G H I J L N P R S T U W X