You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Saeed Mirzai <sm...@gmail.com> on 2011/08/11 22:45:36 UTC

Re: onEntry, onExit in mina state machine

Hi
I have implemented this pattern. Can I add it to the repository ?

-- Saeid

2011/7/31 Saeed Mirzai <sm...@gmail.com>

> Hi Every body
> I was searching for a suitable open source Finite state machine for our
> payment project and came to Apache Mina State machine.
> It seems very interesting in design, but there is one thing lacking.
> We have used entry and exit actions (
> http://en.wikipedia.org/wiki/UML_state_machine#Entry_and_exit_actions),
> but it seems there is no such feature in Mina FSM.
> so I had to change the code and implement it myself by adding two
> annotations onEntry and onExit.
>
> I wanted to know,  if Mina FSM has already such a feature which I have not
> been able to find not find till now ?
>
> Regards
> Saeid Mirzaei
>
>

Re: onEntry, onExit in mina state machine

Posted by Saeed Mirzai <sm...@gmail.com>.
Hi
 done. Here you can find it:
    https://issues.apache.org/jira/browse/DIRMINA-847


-- Saeid


2011/8/11 Emmanuel Lecharny <el...@gmail.com>

> On 8/11/11 10:45 PM, Saeed Mirzai wrote:
>
>> Hi
>> I have implemented this pattern. Can I add it to the repository ?
>>
>
> Hi,
>
> no, not directly.
>
> But you can create a JIRA, attach the patch and clck the 'ASF grant'
> checkbox. We will review it and apply it
>
> (create the patch with svn patch, from the project's root)
>
> Thanks !
>
>
>> -- Saeid
>>
>> 2011/7/31 Saeed Mirzai<sm...@gmail.com>
>>
>>  Hi Every body
>>> I was searching for a suitable open source Finite state machine for our
>>> payment project and came to Apache Mina State machine.
>>> It seems very interesting in design, but there is one thing lacking.
>>> We have used entry and exit actions (
>>> http://en.wikipedia.org/wiki/**UML_state_machine#Entry_and_**
>>> exit_actions<http://en.wikipedia.org/wiki/UML_state_machine#Entry_and_exit_actions>
>>> ),
>>> but it seems there is no such feature in Mina FSM.
>>> so I had to change the code and implement it myself by adding two
>>> annotations onEntry and onExit.
>>>
>>> I wanted to know,  if Mina FSM has already such a feature which I have
>>> not
>>> been able to find not find till now ?
>>>
>>> Regards
>>> Saeid Mirzaei
>>>
>>>
>>>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
>

Re: onEntry, onExit in mina state machine

Posted by Emmanuel Lecharny <el...@gmail.com>.
On 8/11/11 10:45 PM, Saeed Mirzai wrote:
> Hi
> I have implemented this pattern. Can I add it to the repository ?

Hi,

no, not directly.

But you can create a JIRA, attach the patch and clck the 'ASF grant' 
checkbox. We will review it and apply it

(create the patch with svn patch, from the project's root)

Thanks !
>
> -- Saeid
>
> 2011/7/31 Saeed Mirzai<sm...@gmail.com>
>
>> Hi Every body
>> I was searching for a suitable open source Finite state machine for our
>> payment project and came to Apache Mina State machine.
>> It seems very interesting in design, but there is one thing lacking.
>> We have used entry and exit actions (
>> http://en.wikipedia.org/wiki/UML_state_machine#Entry_and_exit_actions),
>> but it seems there is no such feature in Mina FSM.
>> so I had to change the code and implement it myself by adding two
>> annotations onEntry and onExit.
>>
>> I wanted to know,  if Mina FSM has already such a feature which I have not
>> been able to find not find till now ?
>>
>> Regards
>> Saeid Mirzaei
>>
>>


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com