cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <>
Subject [jira] Closed: (CAY-1486) Switch QueryLogger to a DI-managed object
Date Mon, 04 Oct 2010 19:35:33 GMT


Andrus Adamchik closed CAY-1486.

    Resolution: Fixed

I applied Andrei's patch, with some of my own additions (mostly removing some unused methods
of QueryLogger from the new interface). As Andrei mentioned above, the full injection of logger
at all levels of Cayenne is not yet achieved. I hope it will be as 3.1 implementation proceeds.

> Switch QueryLogger to a DI-managed object
> -----------------------------------------
>                 Key: CAY-1486
>                 URL:
>             Project: Cayenne
>          Issue Type: Task
>          Components: Core Library
>    Affects Versions: 3.1M1
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.1M1
>         Attachments: CAY-1486.patch
> Will replace static QueryLogger with a DI-managed service. Preliminary name of the service
interface is org.apache.cayenne.log.JdbcEventLogger, implementation - org.apache.cayenne.log.CommonsJdbcEventLogger
(meaning it is based on commons-logging). "Event" part of the name comes from this: CAY-1173.
The API of JdbcEventLogger will initially match QueryLogger (only it won't be static). The
original QueryLogger should be deprecated. 
> This task will require injection into lower layers of Cayenne runtime below DataDomain.
Not yet sure how we should approach it. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message