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 myself.
On 7/13/07, ant elder <[EMAIL PROTECTED]> wrote:
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 PROTECTED]> wrote: > > I am running Tuscany with Tomcat and I need the servlet context to be > available to one of my service implementations (used to load a > particular configuration). I understand I can inject properties with > default values but I can't seem to figure out how I can inject the > servlet context. > > Thanks > Rob > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]