Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 86964 invoked from network); 11 Dec 2006 17:40:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2006 17:40:43 -0000 Received: (qmail 48810 invoked by uid 500); 11 Dec 2006 17:40:50 -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 48799 invoked by uid 99); 11 Dec 2006 17:40:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Dec 2006 09:40:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Dec 2006 09:40:41 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A727A714058 for ; Mon, 11 Dec 2006 09:40:21 -0800 (PST) Message-ID: <16194351.1165858821654.JavaMail.jira@brutus> Date: Mon, 11 Dec 2006 09:40:21 -0800 (PST) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-444) Add public constructor for JDOHelper In-Reply-To: <26586062.1165610064199.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 [ http://issues.apache.org/jira/browse/JDO-444?page=comments#action_12457421 ] Craig Russell commented on JDO-444: ----------------------------------- Add to the specification text: The instance returned by the constructor is thread safe. It can be used from any number of threads without concern for synchronization. > Add public constructor for JDOHelper > ------------------------------------ > > Key: JDO-444 > URL: http://issues.apache.org/jira/browse/JDO-444 > Project: JDO > Issue Type: New Feature > Components: api2, api2-legacy, specification > Reporter: Michelle Caisse > Assigned To: Craig Russell > Fix For: JDO 2 maintenance release 1 > > Attachments: JDOHelper-constructor.patch > > > In Chapter 8, add after class JDOHelper {public JDOHelper(); For some usage patterns, an instance of JDOHelper on which to invoke methods is preferable to the use of static methods. For this purpose, a public constructor is provided. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira