We need to keep container specific logic out of
PollHandler , and
other parts of DWR. Each container will need an implementation of this
interface, which will generally just return configurations of generic classes.
author: Joe Walker [joe at getahead dot ltd dot uk]
Create a sleeper that is appropriate for the given servlet container
Parameters: request - The Sleeper will probably need to know about the request A method of sending threads to sleep.
The setup process allows the ContainerAbstraction to select a special
ServerLoadMonitor implementation
The ServerLoadMonitor implementation to go with this container
We ask ContainerAbstractions to identify if the environment given is
'theirs'. Are they fit for this environment?
Parameters: servletConfig - Access to javax.servlet.ServletContext etc. true if this implementation should be used