InstanceLifecycleListener on detached instances
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > InstanceLifecycleListener on detached instances




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    InstanceLifecycleListener on detached instances  
erik@jpox.org


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-22-05 10:45 PM

Hi,

Instance lifecycle listeners are only invoked if a PM is involved, but for
detached instances none are called. The dirty listener is one that IMO could
 be
called for detached instances. It means during detachment, a Dirty listener 
is
assigned from the attached to the detached instance.

Any thoughts?






[ Post a follow-up to this message ]



    Re: InstanceLifecycleListener on detached instances  
Craig L Russell


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-28-05 07:45 AM






[ Post a follow-up to this message ]



    Re: InstanceLifecycleListener on detached instances  
erik@jpox.org


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-28-05 12:45 PM

Craig,

A callback called when a detached instance is changed. (gets dirty)

Regards,

Quoting Craig L Russell <Craig.Russell@Sun.COM>:

> Hi Erik,
>
> JDO 2 did not define any additional instance lifecycle callbacks, so
> there are none for JDO 2 features.
>
> The dirty callback is executed during a lifecycle change from clean
> to dirty, so it's not really suitable.
>
> What problem are you trying to solve?
>
> Craig
>
> On Dec 22, 2005, at 11:36 AM, erik@jpox.org wrote:
> 
>
> Craig Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>
>









[ Post a follow-up to this message ]



    Re: InstanceLifecycleListener on detached instances  
Craig L Russell


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-28-05 10:46 PM






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:19 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register