cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Razumovsky <razumovsky.and...@gmail.com>
Subject Re: [jira] Closed: (CAY-1319) Minimal DI container-based configuration to run Cayenne
Date Sun, 10 Jan 2010 12:52:59 GMT
Andrus,

I see configuration *can* be loaded using IoC-module, thus vars with @Inject
annotations are processed. But seems this is not enabled by default - at
least in test stack. I mean, when I try to provide @Inject 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) <jira@apache.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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message