| Accessor for the current Hub in more complex setups.
For some setups DWR may not be able to discover the correct environment
(i.e. ServletContext), so we need to tell it. This generally happens if
you have DWR configured twice in a single context. Unless you are writing
code that someone else will configure, it is probably safe to use the
simpler
HubFactory.get() method.
Parameters: ctx - The servlet context to allow us to bootstrap The current Hub. |