DataContextFactory change

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Dec 08 2005 - 09:48:51 EST

  • Next message: Cris Daniluk: "Prefetch weirdness"

    Mike K. et al. -

    FYI: in the process of access stack refactoring I changed the
    signature of the DataContextFactory method (see below). Now that
    DataDomain is an OPPChannel and DataContext has corresponding
    constructors, migration will be trivial. Just wanted to mention.

    Andrus

    Begin forwarded message:
    > Index: DataContextFactory.java
    > ===================================================================
    > RCS file: /cvsroot/cayenne/cayenne/cayenne-java/src/cayenne/java/
    > org/objectstyle/cayenne/access/DataContextFactory.java,v
    > retrieving revision 1.1
    > retrieving revision 1.2
    > diff -u -d -r1.1 -r1.2
    > --- DataContextFactory.java 4 Nov 2005 10:14:56 -0000 1.1
    > +++ DataContextFactory.java 8 Dec 2005 14:42:45 -0000 1.2
    >.. -55,6 +55,8 @@
    > */
    > package org.objectstyle.cayenne.access;
    >
    > +import org.objectstyle.cayenne.opp.OPPChannel;
    > +
    > /**
    > * An interface for creating DataContexts.
    > *
    >.. -70,5 +72,5 @@
    > *..aram parent parent QueryEngine used to communicate with
    > the data source.
    > *..aram objectStore ObjectStore used by DataContext.
    > */
    > - DataContext createDataContext(QueryEngine parent, ObjectStore
    > objectStore);
    > + DataContext createDataContext(OPPChannel parent, ObjectStore
    > objectStore);
    > }



    This archive was generated by hypermail 2.0.0 : Thu Dec 08 2005 - 09:48:56 EST