Re: General design question-nanning/prevayler

Jon Tirsén <[email protected]> Fri, 21 Mar 2003 18:18:53 +0100 (CET)
Newsgroups gmane.comp.java.nanning.devel
Message-ID <[email protected]>
Yes, I think I just fixed that problem. You were using
PrevaylerAspect and not PrevaylerInterceptor, right? I
just fixed it maybe 30 minutes ago.


 --- saimon <[email protected]> skrev: > Hi Jon,
> 
> Have you verified the same behavior as me or is it a
> fluke?
> 
> Regards,
> 
> Saimon
> 
> saimon wrote:
> 
> >
> >
> > Jon Tirsén wrote:
> >
> >> Hmm... Please explain in more detail how to
> reproduce this. Is this
> >> correct: You have interface A and B where A
> extends B, there's a method
> >> in B, say B.create() that is tagged
> "@transaction", you create an
> >> aspect-object with one mixin that has A as
> interface and AImpl as
> >> target. When calling A.create() the call does not
> result in a
> >> prevayler-command?
> >>  
> >>
> > Correct.
> >
> >>  
> >>
> >>> -----Original Message-----
> >>> From:
> [email protected]
> [mailto:nanning-
> >>> [email protected]] On Behalf
> Of saimon
> >>> Sent: Thursday, March 13, 2003 12:35 AM
> >>> To: [email protected]
> >>> Subject: Re: [Nanning-developer] General design
> >>>   
> >>
> >> question-nanning/prevayler
> >>  
> >>
> >>>
> >>> Jon Tirsén wrote:
> >>>
> >>>   
> >>>
> >>>>> What I was actually refering to is that I
> tried to create a
> >>>>> SystemRepository/SystemRepositoryImpl proxy
> >>>>> where SystemRepository extended
> OrderRepository which extended
> >>>>> ProfileRepository which extended
> IdentifyingSystem (Similarly for
> >>>>>       
> >>>>
> >> the
> >>  
> >>
> >>>>> impl.). But this did not provoke the
> persistance most probably
> >>>>>       
> >>>>
> >> because
> >>  
> >>
> >>>>> the persistant methods I  was trying to call
> existed on either
> >>>>> Order/ProfileRepository but not in the actual
> 'main' interface
> >>>>> (SystemRepository) used to create the 'proxy'.
> >>>>>
> >>>>>
> >>>>>       
> >>>>
> >>>> That's strange, it could be a bug. Did you mark
> the methods with a
> >>>> @transaction-attribute? In the sub interfaces
> too? Did they get
> >>>>     
> >>>
> >> properly
> >>  
> >>
> >>>> compiled with the attribute-compiler?
> >>>>
> >>>>     
> >>>
> >>> Yes I made sure I did....And I checked that they
> were compiled
> >>>   
> >>
> >> properly
> >>  
> >>
> >>> as well...(I tried it a number of times)
> >>>
> >>>   
> >>>
> >>>>
> >>>>     
> >>>>
> >>>>> I'll let you know how it goes... ;)
> >>>>>
> >>>>>
> >>>>>       
> >>>>
> >>>> Please do!
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>     
> >>>
> >>> Will do... ;)
> >>>
> >>> Saimon
> >>>
> >>>   
> >>>
> >>>>
>
-------------------------------------------------------
> >>>> This SF.net email is sponsored by:Crypto
> Challenge is now open!
> >>>> Get cracking and register here for some mind
> boggling fun and
> >>>> the chance of winning an Apple iPod:
> >>>>
>
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> >>>> _______________________________________________
> >>>> Nanning-developer mailing list
> >>>> [email protected]
> >>>>
>
https://lists.sourceforge.net/lists/listinfo/nanning-developer
> >>>>
> >>>>
> >>>>
> >>>>     
> >>>
> >>>
> __________________________________________________
> >>> Do You Yahoo!?
> >>> Everything you'll ever need on one web page
> >>> from News and Sport to Email and Music Charts
> >>> http://uk.my.yahoo.com
> >>>
> >>>
> >>>
>
-------------------------------------------------------
> >>> This SF.net email is sponsored by:Crypto
> Challenge is now open!
> >>> Get cracking and register here for some mind
> boggling fun and
> >>> the chance of winning an Apple iPod:
> >>>
>
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> >>> _______________________________________________
> >>> Nanning-developer mailing list
> >>> [email protected]
> >>>
>
https://lists.sourceforge.net/lists/listinfo/nanning-developer
> >>>   
> >>
> >>
> >>
> >>
> >>
>
-------------------------------------------------------
> >> This SF.net email is sponsored by:Crypto
> Challenge is now open! Get 
> >> cracking and register here for some mind boggling
> fun and the chance 
> >> of winning an Apple iPod:
> >>
>
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> >> _______________________________________________
> >> Nanning-developer mailing list
> >> [email protected]
> >>
>
https://lists.sourceforge.net/lists/listinfo/nanning-developer
> >>
> >>  
> >>
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
> >
> >
> >
>
-------------------------------------------------------
> > This SF.net email is sponsored by:Crypto Challenge
> is now open! Get 
> > cracking and register here for some mind boggling
> fun and the chance 
> > of winning an Apple iPod:
> >
>
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> > _______________________________________________
> > Nanning-developer mailing list
> > [email protected]
> >
>
https://lists.sourceforge.net/lists/listinfo/nanning-developer
> >
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> 
>
-------------------------------------------------------
> This SF.net email is sponsored by: Does your code
> think in ink? 
> You could win a Tablet PC. Get a free Tablet PC hat
> just for playing. 
> What are you waiting for?
>
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> _______________________________________________
> Nanning-developer mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/nanning-developer 

_____________________________________________________
Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express
Se mer på: http://se.docs.yahoo.com/info/express/help/index.html


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en