Moving to [EMAIL PROTECTED]

On 16/08/2007, at 9:02 PM, Adrian Wiesmann wrote:

Could anybody please help me out with an example of how to use
ObjectContextFactory, ObjectContext and ObjectContextDecorator? I would like to write some code which makes sure that every ObjectContext created in my application is created by my own factory which automatically adds a decorator (and idirectly lifecycle callbacks). I am mostly interested to
see how my own factory could first call the "base" implementation (not
sure what and where the "base" is). I got it working with
DataContextFactory but ObjectContext seems to be a little bit different to
that.

With a recent commit [1] to 3.0 after M1, you may no longer need to add a decorator at all if you just want to add lifecycle callbacks.

Ari Maniatis


[1] http://svn.apache.org/viewvc?view=rev&revision=560812



-------------------------->
Aristedes Maniatis
phone +61 2 9660 9700
PGP fingerprint 08 57 20 4B 80 69 59 E2  A9 BF 2D 48 C2 20 0C C8


Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to