Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 51064 invoked from network); 2 Dec 2008 20:31:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Dec 2008 20:31:36 -0000 Received: (qmail 46780 invoked by uid 500); 2 Dec 2008 20:31:48 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 46567 invoked by uid 99); 2 Dec 2008 20:31:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 12:31:46 -0800 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; Tue, 02 Dec 2008 20:30:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 728C4234C29F for ; Tue, 2 Dec 2008 12:30:44 -0800 (PST) Message-ID: <1353236563.1228249844468.JavaMail.jira@brutus> Date: Tue, 2 Dec 2008 12:30:44 -0800 (PST) From: "Andy Jefferson (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Updated: (JDO-591) Enhancer Invocation API In-Reply-To: <1302820617.1208885241516.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Jefferson updated JDO-591: ------------------------------- Attachment: jdoenhancer-5.patch Thx for reviewing the patch. Attached is updated patch with all comments included. Also added validate() method to JDOEnhancer interface. Note that will need a way of registering MetaData with the enhancer, but that can be defined as part of JDO-615 > Enhancer Invocation API > ----------------------- > > Key: JDO-591 > URL: https://issues.apache.org/jira/browse/JDO-591 > Project: JDO > Issue Type: New Feature > Components: api2 > Reporter: Andy Jefferson > Assignee: Andy Jefferson > Fix For: JDO 2 maintenance release 3 > > Attachments: jdoenhancer-4.patch, jdoenhancer-5.patch > > > Having a standard interface to invoke the enhancer makes a lot of sense so we can have interchangeability of enhancers (for implementations that support BinaryCompatibility). > A start point (for discussions) could be > java -cp classpath {enhancer-class} [options] [jdo-files] [class-files] > where options can be > -persistenceUnit persistence-unit-name : Name of a "persistence-unit" to enhance the classes for > -d target-dir-name : Write the enhanced classes to the specified directory > -checkonly : Just check the classes for enhancement status > -v : verbose output > This then allows enhancement of the specified classes, or the classes defined by the specified JDO files, or the classes defined by the specified persistence-unit. > What other control would people like to see ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.