On Thursday 26 June 2008 05:00, Daniel Cheng wrote:
> On Thu, Jun 26, 2008 at 5:07 AM,  <toad at freenetproject.org> 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
> > cvs at freenetproject.org
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> >
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20080626/e5e3559c/attachment.pgp>

Reply via email to