Sanjiva,
The proposal for saving the MessageContext is that the following context
classes implement the java.io.Externalizable interface:
- MessageContext
- OperationContext
- ServiceContext
- ServiceGroupContext
- SessionContext
The ConfigurationContext class does not need to implement the
java.io.Externalizable interface.
Since only a subset of the MessageContext object graph is saved during
serialization, the deserialization of a saved MessageContext only
reconstitutes a subset of the MessageContext object graph. In order to
re-establish the full MessageContext object graph, the restored
MessageContext object needs to be called with an active
ConfigurationContext object that is appropriate for the AxisEngine where
the deserialization is taking place. This is the
MessageContext.activate(ConfigurationContext configCtx) method. The
MessageContext.activate() method uses some metadata that was saved/restored
to re-establish the links to the appropriate Axis* objects. The metadata
typically corresponds to the name associated with the Axis* object.
Ann
WebSphere Development, Web Services Engine
IBM
11501 Burnet Rd IZip 9035G021
Austin, TX 78758
(512)838-9438 TL 678-9438
Lotus Notes: Ann Robinson/Austin/[EMAIL PROTECTED]
Internet: robinsona @ us.ibm.com
Sanjiva
Weerawarana
<[EMAIL PROTECTED] To
ce.lk> [email protected]
cc
11/28/2006 10:30
PM Subject
Re: [AXIS2] Proposal for saving the
message context
Please respond to
[EMAIL PROTECTED]
e.org
I read thru the Wiki page but am a bit unclear on what is proposed. Are
you proposing that:
- All the context classes implement externalizable
- add a method configContext.activate(MessageContext)
Does the externalization involve storing names of the Axis* objects so
that those links can be re-established?
What exactly does activate() do- I didn't see that documented.
Thanks,
Sanjiva.
On Tue, 2006-11-28 at 23:18 +0530, Sanjiva Weerawarana wrote:
> Sorry for the delay Ann- I'll go thru this tomorrow and give feedback.
>
> Thanks,
>
> Sanjiva.
>
> On Mon, 2006-11-27 at 10:47 -0600, Ann Robinson wrote:
> > I have a proposal for saving the AXIS2 message context based on some
> > of the discussion that occurred earlier this year. I have put a
> > description of the proposal on the Apache wiki at
> >
> > http://wiki.apache.org/ws/FrontPage/Axis2/MessageContextSaveRestore
> >
> > and I have submitted a patch for review in the JIRA issue AXIS2-1567.
> >
> > I would appreciate any comments on this proposal since it is
> > particularly useful for a WS-RM implementation.
> >
> > Ann
> >
> > WebSphere Development, Web Services Engine
> >
> > IBM
> > 11501 Burnet Rd IZip 9035G021
> > Austin, TX 78758
> > (512)838-9438 TL 678-9438
> >
> > Lotus Notes: Ann Robinson/Austin/[EMAIL PROTECTED]
> > Internet: robinsona @ us.ibm.com
> >
> >
--
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Director; Open Source Initiative; http://www.opensource.org/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


