Hi Andrew! Sorry I wasn't more precise. Yes, it's a transport-specific property that gets set by the AxisServlet. In particular, it can be retrieved with:
((HttpServlet)msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLET)).getServletContext(); In answer to your second question, you just have to know. The model we chose is one where you tend to only ask about stuff you know about, rather than "browsing" the available properties at any given time. --Glen > -----Original Message----- > From: Andrew Vardeman [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 09, 2002 12:53 PM > To: [EMAIL PROTECTED] > Subject: RE: Clarification about ServiceLifecycle (part2) ? > > > Glen, > > I'm looking at the beta 2 Javadoc for MessageContext and > don't see a method > for getting the ServletContext. Has this been added > recently, or do I > misunderstand your note? Is it one of the properties available from > getProperty()? Is there some way using the Axis API to > discover the names > of the set properties in the MessageContext, or do you just > have to know? > > Thanks, > > Andrew > > At 08:28 AM 5/9/2002 -0400, you wrote: > > >The lifecycle methods were implemented in Axis a couple of > days ago, but > >right now we don't pass anything in the context parameter to init() > >(you'll get null for now). However, if you want to get at the > >ServletContext in init(), you can do so via the > MessageContext, which is > >available as usual with MessageContext.getCurrentContext(). > > > >--Glen > > >
