ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <>
Subject [jira] Resolved: (AXIS2-4616) Problem with phases on the Output flow
Date Sun, 02 May 2010 14:48:56 GMT


Amila Chinthaka Suriarachchi resolved AXIS2-4616.

    Resolution: Fixed

fixed with revision 940239

> Problem with phases on the Output flow
> --------------------------------------
>                 Key: AXIS2-4616
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.5.1, 1.5, 1.4.1
>            Reporter: Sorin Boeru
>             Fix For: 1.4.1
> I created a Phase which overrides the checkPreconditions and checkPostconditions methods
in the Phase class.
> If I add this Phase to the input flow in the axis2.xml file, it passes through the mentioned
> But if I add the same Phase to the output flow, it doesn't pass through these methods.
> In both cases, I use a global Phase.
> From what I saw in the kernel jar, there's a problem in the PhasesInfo.class.
> The getGlobalOutPhaseList() method, when adding a new phase to the output flow list,
it calls the method copyPhase(phase), which recreates the phase by adding the name, description
and handlers. But by doing so, the initial Phase is cast down from the class I defined (for
example MyPhase extends Phase) to a simple Phase and the checkPreconditions and checkPostconditions
methods are no longer available. Therefore, in this case, it pases through the checkPrecondition
method which is in the Phase class.
> For the input flow, the method getGlobalInFlow() in PhasesInfo doesn't call the copyPhase
method, and the original phase remains how it was.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message