On Thursday 26 June 2008 05:00, Daniel Cheng wrote:
> On Thu, Jun 26, 2008 at 5:07 AM,  <[EMAIL PROTECTED]> wrote:
> > Author: toad
> > Date: 2008-06-25 21:07:06 +0000 (Wed, 25 Jun 2008)
> > New Revision: 20718
> >
> > Modified:
> >   branches/db4o/freenet/src/freenet/client/async/RegisterMe.java
> > Log:
> > Transparent activation of the key
> >
> 
> This is not "Transparent Activation" (TA).

My mistake, cascading activation.
> 
> TA have special meaning in db4o and the object have to implement
> "Activatable" interface, see:
>   
http://developer.db4o.com/Resources/view.aspx/Reference/Object_Lifecycle/Activation/Transparent_Activation_Framework
> 
> > Modified: branches/db4o/freenet/src/freenet/client/async/RegisterMe.java
> > ===================================================================
> > --- branches/db4o/freenet/src/freenet/client/async/RegisterMe.java      
2008-06-25 20:54:28 UTC (rev 20717)
> > +++ branches/db4o/freenet/src/freenet/client/async/RegisterMe.java      
2008-06-25 21:07:06 UTC (rev 20718)
> > @@ -1,5 +1,7 @@
> >  package freenet.client.async;
> >
> > +import com.db4o.ObjectContainer;
> > +
> >  import freenet.node.SendableRequest;
> >
> >  public class RegisterMe {
> > @@ -12,5 +14,9 @@
> >                this.core = core;
> >                this.key = new 
RegisterMeSortKey(getter.getPriorityClass());
> >        }
> > +
> > +       public void objectOnActivate(ObjectContainer container) {
> > +               container.activate(key, 1);
> > +       }
> >  }
> >
> >
> > _______________________________________________
> > cvs mailing list
> > [EMAIL PROTECTED]
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> >
> _______________________________________________
> Devl mailing list
> [email protected]
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
> 
> 

Attachment: pgpWeE1VyxW1n.pgp
Description: PGP signature

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to