You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Deepal Jayasinghe <de...@opensource.lk> on 2004/11/11 06:18:04 UTC

[Axis2] Phase Handers

Hi all;

I think theses are the things that we agree and decided at the yesterday chat , if I am wrong please correct me .

1. Hander instance belong to exactly one phase

2. Before and after property of a hander can represent either phase or hander , but if they represent phases then no point of having phase property (i.e in that situation it is no need to specify the phase in the phase element)

3.But for the first implementation we do not want to think about before and after property

4. There are predefined phases like Global , Transport and service if some one want to add new phase it should between above phases and the order of them should be described in server.xml


using service.xml and server.xml Deployment module will resolve the handlers ; and then ordered set of  handlers (hander chain) will be give to engine. and engine dose not need to know any thing about phases what the engine want is set of handlers.


using above facts I will continue with the prototype if something to be changed please comment about that.


Thank you

==================================================
Deepal Jayasinghe
Lanka Software Foundation
0714 817 310

RE: [Axis2]Handler Phases

Posted by Eran Chinthaka <ch...@opensource.lk>.
Hope I can do some additions :-)

 

  _____  

Eran Chinthaka

Lanka Software Foundation

 

  _____  

From: Deepal Jayasinghe [mailto:deepal@opensource.lk] 
Sent: Thursday, November 11, 2004 11:18 AM
To: axis-dev@ws.apache.org
Subject: [Axis2] Phase Handers

 

Hi all;

 

I think theses are the things that we agree and decided at the yesterday
chat , if I am wrong please correct me .

 

1. Handler instance belong to exactly one phase

 

2. Before and after properties of a handler represent either phase or
handler , but if they represent phases then no point of having phase
property (i.e in that situation it is no need to specify the phase in the
phase element)

 

3.But for the first implementation we do not want to think about before and
after property

[Chinthaka] We might only implement phaseFirst="xs:boolean" and
phaseLast="xs:boolean" for handlers, in the first impl

 

4. There are predefined phases like Global , Transport. and service if some
one want to add new phase it should between above phases and the order of
them should be described in server.xml

[Chinthaka] user can not change the order of Transport, Global and Service
phases.  (which is implied).

 

 

using service.xml and server.xml Deployment module will resolve the handlers
; and then ordered set of  handlers (hander chain) will be give to engine.
and engine dose not need to know any thing about phases what the engine want
is set of handlers.

 

 

using above facts I will continue with the prototype if something to be
changed please comment about that.

 

 

Thank you


==================================================
Deepal Jayasinghe
Lanka Software Foundation
0714 817 310