My oppinion is that service is something independent to any environment, such
as servlet container, against your question, I thing you'd better walk around
it, it seems you made a wrong design now.
Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:
[snip]
Robert Young wrote:
On a slightly
[snip]
Robert Young wrote:
On a slightly different tack, if I implement my own servlet which
loads the servlet from WebAppServletHost would I be able to inject the
servlet context into the service via the generated servlet?
On 7/13/07, Robert Young [EMAIL PROTECTED] wrote:
Strangely I don't
On a slightly different tack, if I implement my own servlet which
loads the servlet from WebAppServletHost would I be able to inject the
servlet context into the service via the generated servlet?
On 7/13/07, Robert Young [EMAIL PROTECTED] wrote:
Strangely I don't need anything from it, I just
I think there isn't any way with the current code as-is. We could look at
providing something, I'm not sure we should what support injecting the
entire ServletContext into a component though, what is it exactly that you
need from it in the service impl?
...ant
On 7/12/07, Robert Young [EMAIL
Strangely I don't need anything from it, I just need it. The service
is for interacting with Nutch, which requires the servlet context to
load the configuration instance.The NutchConfiguration class grabs all
it's parameters from the servlet context but I don't really want to
have to do that