Re: General design question-nanning/prevayler

Saimon Moore <[email protected]> Mon, 24 Mar 2003 09:11:12 +0000 (GMT)
Newsgroups gmane.comp.java.nanning.devel
Message-ID <[email protected]>
Great,

I'll check it out tonight...

Yes, I was using PrevaylerAspect.

Cheers,

Saimon

 --- Jon Tirsén <[email protected]> wrote: > 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
> 
=== message truncated === 

=====


__________________________________________________
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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf