Andrus,
I see configuration *can* be loaded using IoC-module, thus vars with..nject
annotations are processed. But seems this is not enabled by default - at
least in test stack. I mean, when I try to provide..nject to a variable not
from o.a.c.configuration package it is not injected. Are there plans to
completely switch to loading via CayenneServerModule? Should our code always
support both DI and non-DI loading?
(i'm asking because using DI can help to get rid of ugly hacks I made in
CAY-1236)
2009/12/7 Andrus Adamchik (JIRA) <jir..pache.org>
>
> [
> https://issues.apache.org/jira/browse/CAY-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Andrus Adamchik closed CAY-1319.
> --------------------------------
>
> Resolution: Fixed
>
> > Minimal DI container-based configuration to run Cayenne
> > --------------------------------------------------------
> >
> > Key: CAY-1319
> > URL: https://issues.apache.org/jira/browse/CAY-1319
> > Project: Cayenne
> > Issue Type: Task
> > Components: Cayenne Core Library
> > Affects Versions: 3.1M1
> > Reporter: Andrus Adamchik
> > Assignee: Andrus Adamchik
> > Fix For: 3.1M1
> >
> >
> > Need to implement loading of Cayenne runtime configuration via a DI
> mechanism. This will include moving cayenne-di module from sandbox to
> Cayenne proper and using it to provide access to DataDomain to the
> applications.
> > (this is very closely related to CAY-1318, as per CAY-1318 it is likely
> that in the future Configuration class will be removed from Cayenne and a
> replacement needs to be provided)
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
-- Andrey
This archive was generated by hypermail 2.0.0 : Sun Jan 10 2010 - 07:53:52 EST