Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 76955 invoked from network); 27 Apr 2009 15:03:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Apr 2009 15:03:45 -0000 Received: (qmail 34855 invoked by uid 500); 27 Apr 2009 15:03:39 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 34818 invoked by uid 500); 27 Apr 2009 15:03:39 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 34796 invoked by uid 99); 27 Apr 2009 15:03:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2009 15:03:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2009 15:03:37 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EE0D5234C4D1 for ; Mon, 27 Apr 2009 08:02:42 -0700 (PDT) Message-ID: <1505199022.1240844562973.JavaMail.jira@brutus> Date: Mon, 27 Apr 2009 08:02:42 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Moved: (OCM-30) add ability to pass arguments to instances of field converters In-Reply-To: <19029928.1198705123047.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OCM-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting moved JCR-1279 to OCM-30: --------------------------------------- Component/s: (was: jackrabbit-ocm) Description: (was: It would be useful to be able to pass arguments to a custom field converter so related converters can be reused. For example, a converter that stores images could take arguments which specify the image type and maximum dimensions. These arguments could be placed in the @Field annotation: @Field(converter = BufferedImageConverter.class, converterArgs = { "png", 120, 80 }) private BufferedImage img; and provided to the type converter instance via a method defined in AtomicTypeConverter: public BufferedImageConverter implements AtomicTypeConverter { /** * new method in the AtomicTypeConverter interface */ public void setConverterArgs(Object[] args) { // ... } } ) Affects Version/s: (was: 1.4) Workflow: no-reopen-closed, patch-avail (was: jira) Key: OCM-30 (was: JCR-1279) Project: Jackrabbit OCM (was: Jackrabbit Content Repository) > add ability to pass arguments to instances of field converters > -------------------------------------------------------------- > > Key: OCM-30 > URL: https://issues.apache.org/jira/browse/OCM-30 > Project: Jackrabbit OCM > Issue Type: Wish > Reporter: Paul Mietz Egli > Priority: Minor > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.