From openejb-commits-return-410waltersashley@example.com Wed Nov 01 18:06:45 2006 Return-Path: <openejb-commits-return-410waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 3844 invoked from network); 1 Nov 2006 18:06:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 18:06:42 -0000 Received: (qmail 74356 invoked by uid 500); 1 Nov 2006 18:06:52 -0000 Delivered-To: waltersashley@example.com Received: (qmail 74320 invoked by uid 500); 1 Nov 2006 18:06:52 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 74261 invoked by uid 99); 1 Nov 2006 18:06:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:06:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:06:39 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 050C47142DC for <waltersashley@example.com>; Wed, 1 Nov 2006 10:06:19 -0800 (PST) Message-ID: <29788422.1162404379018.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 10:06:19 -0800 (PST) From: "Mohammad Nour (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Work stopped: (OPENEJB-282) Both EJBHome and EJBLocalHome remove(Object primaryKey) methods should throw javax.ejb.RemoveException when used with Sessions beans In-Reply-To: <15188944.1160660375559.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/OPENEJB-282?page=all ] Work on OPENEJB-282 stopped by Mohammad Nour. > Both EJBHome and EJBLocalHome remove(Object primaryKey) methods should throw javax.ejb.RemoveException when used with Sessions beans > ------------------------------------------------------------------------------------------------------------------------------------ > > Key: OPENEJB-282 > URL: http://issues.apache.org/jira/browse/OPENEJB-282 > Project: OpenEJB > Issue Type: Task > Components: ejb3 simplified > Affects Versions: 3.0 > Environment: java version "1.5.0_06" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) > Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode) > Microsoft Windows XP Professional SP2 > Reporter: Mohammad Nour > Assigned To: Mohammad Nour > > As described in *"EJB3.0 Core Contracts and Requirements"* specification, both *EJBHome* and *EJBLocalHome remove(Object primaryKey)* methods should throw *javax.ejb.RemoveException* as mentioned in sections *83.161.120.155*, *83.161.120.155* and *3.6.5* of the specification. Currently the code throws *java.rmi.RemoteException* when using *EJBHome* and *javax.ejb.EJBException* when using *EJBLocalHome*. -- 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 From openejb-commits-return-411waltersashley@example.com Wed Nov 01 18:08:46 2006 Return-Path: <openejb-commits-return-411waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 4284 invoked from network); 1 Nov 2006 18:08:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 18:08:44 -0000 Received: (qmail 76948 invoked by uid 500); 1 Nov 2006 18:08:49 -0000 Delivered-To: waltersashley@example.com Received: (qmail 76932 invoked by uid 500); 1 Nov 2006 18:08:49 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 76922 invoked by uid 99); 1 Nov 2006 18:08:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:08:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:08:37 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 15ECB7142BF for <waltersashley@example.com>; Wed, 1 Nov 2006 10:08:17 -0800 (PST) Message-ID: <25856981.1162404497087.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 10:08:17 -0800 (PST) From: "Mohammad Nour (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Updated: (OPENEJB-282) Both EJBHome and EJBLocalHome remove(Object primaryKey) methods should throw javax.ejb.RemoveException when used with Sessions beans In-Reply-To: <15188944.1160660375559.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/OPENEJB-282?page=all ] Mohammad Nour updated OPENEJB-282: ---------------------------------- Attachment: patch_OPENEJB-282.txt Completed waiting to peer review. > Both EJBHome and EJBLocalHome remove(Object primaryKey) methods should throw javax.ejb.RemoveException when used with Sessions beans > ------------------------------------------------------------------------------------------------------------------------------------ > > Key: OPENEJB-282 > URL: http://issues.apache.org/jira/browse/OPENEJB-282 > Project: OpenEJB > Issue Type: Task > Components: ejb3 simplified > Affects Versions: 3.0 > Environment: java version "1.5.0_06" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) > Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode) > Microsoft Windows XP Professional SP2 > Reporter: Mohammad Nour > Assigned To: Mohammad Nour > Attachments: patch_OPENEJB-282.txt > > > As described in *"EJB3.0 Core Contracts and Requirements"* specification, both *EJBHome* and *EJBLocalHome remove(Object primaryKey)* methods should throw *javax.ejb.RemoveException* as mentioned in sections *83.161.120.155*, *83.161.120.155* and *3.6.5* of the specification. Currently the code throws *java.rmi.RemoteException* when using *EJBHome* and *javax.ejb.EJBException* when using *EJBLocalHome*. -- 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 From openejb-commits-return-412waltersashley@example.com Wed Nov 01 18:10:38 2006 Return-Path: <openejb-commits-return-412waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 5138 invoked from network); 1 Nov 2006 18:10:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 18:10:38 -0000 Received: (qmail 81339 invoked by uid 500); 1 Nov 2006 18:10:49 -0000 Delivered-To: waltersashley@example.com Received: (qmail 81319 invoked by uid 500); 1 Nov 2006 18:10:49 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 81310 invoked by uid 99); 1 Nov 2006 18:10:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:10:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:10:37 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 2119F7142BF for <waltersashley@example.com>; Wed, 1 Nov 2006 10:10:17 -0800 (PST) Message-ID: <7931035.1162404617132.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 10:10:17 -0800 (PST) From: "Mohammad Nour (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Resolved: (OPENEJB-282) Both EJBHome and EJBLocalHome remove(Object primaryKey) methods should throw javax.ejb.RemoveException when used with Sessions beans In-Reply-To: <15188944.1160660375559.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/OPENEJB-282?page=all ] Mohammad Nour resolved OPENEJB-282. ----------------------------------- Fix Version/s: 3.0 Resolution: Fixed Resolved waiting for peer review to colse. > Both EJBHome and EJBLocalHome remove(Object primaryKey) methods should throw javax.ejb.RemoveException when used with Sessions beans > ------------------------------------------------------------------------------------------------------------------------------------ > > Key: OPENEJB-282 > URL: http://issues.apache.org/jira/browse/OPENEJB-282 > Project: OpenEJB > Issue Type: Task > Components: ejb3 simplified > Affects Versions: 3.0 > Environment: java version "1.5.0_06" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) > Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode) > Microsoft Windows XP Professional SP2 > Reporter: Mohammad Nour > Assigned To: Mohammad Nour > Fix For: 3.0 > > Attachments: patch_OPENEJB-282.txt > > > As described in *"EJB3.0 Core Contracts and Requirements"* specification, both *EJBHome* and *EJBLocalHome remove(Object primaryKey)* methods should throw *javax.ejb.RemoveException* as mentioned in sections *83.161.120.155*, *83.161.120.155* and *3.6.5* of the specification. Currently the code throws *java.rmi.RemoteException* when using *EJBHome* and *javax.ejb.EJBException* when using *EJBLocalHome*. -- 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 From openejb-commits-return-413waltersashley@example.com Wed Nov 01 18:10:39 2006 Return-Path: <openejb-commits-return-413waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 5167 invoked from network); 1 Nov 2006 18:10:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 18:10:39 -0000 Received: (qmail 81448 invoked by uid 500); 1 Nov 2006 18:10:50 -0000 Delivered-To: waltersashley@example.com Received: (qmail 81400 invoked by uid 500); 1 Nov 2006 18:10:50 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 81391 invoked by uid 99); 1 Nov 2006 18:10:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:10:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:10:38 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 6A65C7142DC for <waltersashley@example.com>; Wed, 1 Nov 2006 10:10:18 -0800 (PST) Message-ID: <19894198.1162404618433.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 10:10:18 -0800 (PST) From: "Mohammad Nour (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Assigned: (OPENEJB-149) iTest: StatelessEjbObjectTests 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/OPENEJB-149?page=all ] Mohammad Nour reassigned OPENEJB-149: ------------------------------------- Assignee: Mohammad Nour > iTest: StatelessEjbObjectTests > ------------------------------ > > Key: OPENEJB-149 > URL: http://issues.apache.org/jira/browse/OPENEJB-149 > Project: OpenEJB > Issue Type: Sub-task > Components: ejb3 simplified > Affects Versions: 3.0 > Reporter: David Blevins > Assigned To: Mohammad Nour > Fix For: 3.0 > > > tests that all javax.ejb.EJBObject methods work as expected on the EJB 2.1 compatible remote interface an ejb3 stateless bean -- 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 From openejb-commits-return-414waltersashley@example.com Wed Nov 01 18:12:50 2006 Return-Path: <openejb-commits-return-414waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 5591 invoked from network); 1 Nov 2006 18:12:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 18:12:45 -0000 Received: (qmail 87000 invoked by uid 500); 1 Nov 2006 18:12:49 -0000 Delivered-To: waltersashley@example.com Received: (qmail 86973 invoked by uid 500); 1 Nov 2006 18:12:49 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 86950 invoked by uid 99); 1 Nov 2006 18:12:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:12:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:12:37 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 2D9B87142BF for <waltersashley@example.com>; Wed, 1 Nov 2006 10:12:17 -0800 (PST) Message-ID: <10479746.1162404737184.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 10:12:17 -0800 (PST) From: "Mohammad Nour (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Assigned: (OPENEJB-175) iTest: StatefulEjbObjectTests 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/OPENEJB-175?page=all ] Mohammad Nour reassigned OPENEJB-175: ------------------------------------- Assignee: Mohammad Nour > iTest: StatefulEjbObjectTests > ----------------------------- > > Key: OPENEJB-175 > URL: http://issues.apache.org/jira/browse/OPENEJB-175 > Project: OpenEJB > Issue Type: Sub-task > Components: ejb3 simplified > Affects Versions: 3.0 > Reporter: David Blevins > Assigned To: Mohammad Nour > Fix For: 3.0 > > > tests that all javax.ejb.EJBObject methods work as expected on the EJB 2.1 compatible remote interface an ejb3 stateful bean -- 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 From openejb-commits-return-415waltersashley@example.com Thu Nov 02 06:41:39 2006 Return-Path: <openejb-commits-return-415waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 39562 invoked from network); 2 Nov 2006 06:41:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 06:41:38 -0000 Received: (qmail 91234 invoked by uid 500); 2 Nov 2006 06:41:49 -0000 Delivered-To: waltersashley@example.com Received: (qmail 91216 invoked by uid 500); 2 Nov 2006 06:41:49 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 91207 invoked by uid 99); 2 Nov 2006 06:41:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:41:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:41:37 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id B69017142BF for <waltersashley@example.com>; Wed, 1 Nov 2006 22:41:17 -0800 (PST) Message-ID: <8994222.1162449677645.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 22:41:17 -0800 (PST) From: "David Blevins (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Updated: (OPENEJB-221) javax.annotation.PostConstruct 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/OPENEJB-221?page=all ] David Blevins updated OPENEJB-221: ---------------------------------- Assignee: David Blevins > javax.annotation.PostConstruct > ------------------------------ > > Key: OPENEJB-221 > URL: http://issues.apache.org/jira/browse/OPENEJB-221 > Project: OpenEJB > Issue Type: Sub-task > Components: deployment, ejb3 simplified > Affects Versions: 3.0 > Reporter: David Blevins > Assigned To: David Blevins > Fix For: 3.0 > > > @Target({ElementType.METHOD}) > @Retention(RetentionPolicy.RUNTIME) > public @interface PostConstruct { > } -- 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 From openejb-commits-return-416waltersashley@example.com Thu Nov 02 06:41:40 2006 Return-Path: <openejb-commits-return-416waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 39603 invoked from network); 2 Nov 2006 06:41:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 06:41:39 -0000 Received: (qmail 91358 invoked by uid 500); 2 Nov 2006 06:41:51 -0000 Delivered-To: waltersashley@example.com Received: (qmail 91300 invoked by uid 500); 2 Nov 2006 06:41:50 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 91291 invoked by uid 99); 2 Nov 2006 06:41:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:41:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:41:39 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id F03837142DC for <waltersashley@example.com>; Wed, 1 Nov 2006 22:41:18 -0800 (PST) Message-ID: <7535314.1162449678981.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 22:41:18 -0800 (PST) From: "David Blevins (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Updated: (OPENEJB-240) javax.ejb.Remote 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/OPENEJB-240?page=all ] David Blevins updated OPENEJB-240: ---------------------------------- Assignee: David Blevins > javax.ejb.Remote > ---------------- > > Key: OPENEJB-240 > URL: http://issues.apache.org/jira/browse/OPENEJB-240 > Project: OpenEJB > Issue Type: Sub-task > Components: deployment, ejb3 simplified > Affects Versions: 3.0 > Reporter: David Blevins > Assigned To: David Blevins > Fix For: 3.0 > > > @Target(ElementType.TYPE) > @Retention(RetentionPolicy.RUNTIME) > public @interface Remote { > Class[] value() default {}; > } -- 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 From openejb-commits-return-417waltersashley@example.com Thu Nov 02 06:41:41 2006 Return-Path: <openejb-commits-return-417waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 39632 invoked from network); 2 Nov 2006 06:41:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 06:41:40 -0000 Received: (qmail 91434 invoked by uid 500); 2 Nov 2006 06:41:52 -0000 Delivered-To: waltersashley@example.com Received: (qmail 91386 invoked by uid 500); 2 Nov 2006 06:41:52 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 91377 invoked by uid 99); 2 Nov 2006 06:41:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:41:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:41:40 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 3E32F7142EF for <waltersashley@example.com>; Wed, 1 Nov 2006 22:41:20 -0800 (PST) Message-ID: <25436776.1162449680252.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 22:41:20 -0800 (PST) From: "David Blevins (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Updated: (OPENEJB-236) javax.ejb.LocalHome 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/OPENEJB-236?page=all ] David Blevins updated OPENEJB-236: ---------------------------------- Assignee: David Blevins > javax.ejb.LocalHome > ------------------- > > Key: OPENEJB-236 > URL: http://issues.apache.org/jira/browse/OPENEJB-236 > Project: OpenEJB > Issue Type: Sub-task > Components: deployment, ejb3 simplified > Affects Versions: 3.0 > Reporter: David Blevins > Assigned To: David Blevins > Fix For: 3.0 > > > @Target(ElementType.TYPE) > @Retention(RetentionPolicy.RUNTIME) > public @interface LocalHome { > Class value(); > } -- 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 From openejb-commits-return-418waltersashley@example.com Thu Nov 02 06:41:44 2006 Return-Path: <openejb-commits-return-418waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 39683 invoked from network); 2 Nov 2006 06:41:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 06:41:42 -0000 Received: (qmail 91494 invoked by uid 500); 2 Nov 2006 06:41:53 -0000 Delivered-To: waltersashley@example.com Received: (qmail 91467 invoked by uid 500); 2 Nov 2006 06:41:53 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 91458 invoked by uid 99); 2 Nov 2006 06:41:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:41:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:41:41 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 800877142F0 for <waltersashley@example.com>; Wed, 1 Nov 2006 22:41:21 -0800 (PST) Message-ID: <33436022.1162449681522.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 22:41:21 -0800 (PST) From: "David Blevins (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Updated: (OPENEJB-247) javax.ejb.TransactionManagement 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/OPENEJB-247?page=all ] David Blevins updated OPENEJB-247: ---------------------------------- Assignee: David Blevins > javax.ejb.TransactionManagement > ------------------------------- > > Key: OPENEJB-247 > URL: http://issues.apache.org/jira/browse/OPENEJB-247 > Project: OpenEJB > Issue Type: Sub-task > Components: deployment, ejb3 simplified > Affects Versions: 3.0 > Reporter: David Blevins > Assigned To: David Blevins > Fix For: 3.0 > > > @Target(ElementType.TYPE) > @Retention(RetentionPolicy.RUNTIME) > public @interface TransactionManagement { > TransactionManagementType value() > default TransactionManagementType.CONTAINER; > } -- 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 From openejb-commits-return-419waltersashley@example.com Thu Nov 02 06:41:45 2006 Return-Path: <openejb-commits-return-419waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 39715 invoked from network); 2 Nov 2006 06:41:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 06:41:43 -0000 Received: (qmail 91581 invoked by uid 500); 2 Nov 2006 06:41:54 -0000 Delivered-To: waltersashley@example.com Received: (qmail 91554 invoked by uid 500); 2 Nov 2006 06:41:54 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 91545 invoked by uid 99); 2 Nov 2006 06:41:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:41:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:41:42 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id BDE617142F3 for <waltersashley@example.com>; Wed, 1 Nov 2006 22:41:22 -0800 (PST) Message-ID: <16581542.1162449682775.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 22:41:22 -0800 (PST) From: "David Blevins (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Updated: (OPENEJB-246) javax.ejb.TransactionAttribute 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/OPENEJB-246?page=all ] David Blevins updated OPENEJB-246: ---------------------------------- Assignee: David Blevins > javax.ejb.TransactionAttribute > ------------------------------ > > Key: OPENEJB-246 > URL: http://issues.apache.org/jira/browse/OPENEJB-246 > Project: OpenEJB > Issue Type: Sub-task > Components: deployment, ejb3 simplified > Affects Versions: 3.0 > Reporter: David Blevins > Assigned To: David Blevins > Fix For: 3.0 > > > @Target({ElementType.METHOD, ElementType.TYPE}) > @Retention(RetentionPolicy.RUNTIME) > public @interface TransactionAttribute { > TransactionAttributeType value() > default TransactionAttributeType.REQUIRED; > } -- 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 From openejb-commits-return-420waltersashley@example.com Thu Nov 02 06:41:59 2006 Return-Path: <openejb-commits-return-420waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 39825 invoked from network); 2 Nov 2006 06:41:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 06:41:58 -0000 Received: (qmail 91828 invoked by uid 500); 2 Nov 2006 06:42:10 -0000 Delivered-To: waltersashley@example.com Received: (qmail 91732 invoked by uid 500); 2 Nov 2006 06:42:10 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 91717 invoked by uid 99); 2 Nov 2006 06:42:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:42:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:41:58 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 074267142F6 for <waltersashley@example.com>; Wed, 1 Nov 2006 22:41:24 -0800 (PST) Message-ID: <28494243.1162449684027.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 22:41:24 -0800 (PST) From: "David Blevins (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Updated: (OPENEJB-244) javax.ejb.Stateless 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/OPENEJB-244?page=all ] David Blevins updated OPENEJB-244: ---------------------------------- Assignee: David Blevins (was: Jacek Laskowski) > javax.ejb.Stateless > ------------------- > > Key: OPENEJB-244 > URL: http://issues.apache.org/jira/browse/OPENEJB-244 > Project: OpenEJB > Issue Type: Sub-task > Components: deployment, ejb3 simplified > Affects Versions: 3.0 > Reporter: David Blevins > Assigned To: David Blevins > Fix For: 3.0 > > > @Target(TYPE) > @Retention(RUNTIME) > public @interface Stateless { > String name() default ""; > String mappedName() default ""; > String description() default ""; > } -- 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 From openejb-commits-return-421waltersashley@example.com Thu Nov 02 06:42:00 2006 Return-Path: <openejb-commits-return-421waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 39837 invoked from network); 2 Nov 2006 06:41:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 06:41:59 -0000 Received: (qmail 91853 invoked by uid 500); 2 Nov 2006 06:42:10 -0000 Delivered-To: waltersashley@example.com Received: (qmail 91737 invoked by uid 500); 2 Nov 2006 06:42:10 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 91718 invoked by uid 99); 2 Nov 2006 06:42:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:42:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:41:58 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 424617142F8 for <waltersashley@example.com>; Wed, 1 Nov 2006 22:41:25 -0800 (PST) Message-ID: <20308977.1162449685269.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 22:41:25 -0800 (PST) From: "David Blevins (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Updated: (OPENEJB-222) javax.annotation.PreDestroy 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/OPENEJB-222?page=all ] David Blevins updated OPENEJB-222: ---------------------------------- Assignee: David Blevins > javax.annotation.PreDestroy > --------------------------- > > Key: OPENEJB-222 > URL: http://issues.apache.org/jira/browse/OPENEJB-222 > Project: OpenEJB > Issue Type: Sub-task > Components: deployment, ejb3 simplified > Affects Versions: 3.0 > Reporter: David Blevins > Assigned To: David Blevins > Fix For: 3.0 > > > @Target({ElementType.METHOD}) > @Retention(RetentionPolicy.RUNTIME) > public @interface PreDestroy { > } -- 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 From openejb-commits-return-422waltersashley@example.com Thu Nov 02 06:42:03 2006 Return-Path: <openejb-commits-return-422waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 39892 invoked from network); 2 Nov 2006 06:42:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 06:42:00 -0000 Received: (qmail 91928 invoked by uid 500); 2 Nov 2006 06:42:11 -0000 Delivered-To: waltersashley@example.com Received: (qmail 91898 invoked by uid 500); 2 Nov 2006 06:42:11 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 91879 invoked by uid 99); 2 Nov 2006 06:42:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:42:11 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:41:59 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 835117142F9 for <waltersashley@example.com>; Wed, 1 Nov 2006 22:41:26 -0800 (PST) Message-ID: <5222868.1162449686535.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 22:41:26 -0800 (PST) From: "David Blevins (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Updated: (OPENEJB-241) javax.ejb.RemoteHome 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/OPENEJB-241?page=all ] David Blevins updated OPENEJB-241: ---------------------------------- Assignee: David Blevins > javax.ejb.RemoteHome > -------------------- > > Key: OPENEJB-241 > URL: http://issues.apache.org/jira/browse/OPENEJB-241 > Project: OpenEJB > Issue Type: Sub-task > Components: deployment, ejb3 simplified > Affects Versions: 3.0 > Reporter: David Blevins > Assigned To: David Blevins > Fix For: 3.0 > > > @Target(ElementType.TYPE) > @Retention(RetentionPolicy.RUNTIME) > public @interface RemoteHome { > Class value(); > } -- 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 From openejb-commits-return-423waltersashley@example.com Thu Nov 02 06:42:03 2006 Return-Path: <openejb-commits-return-423waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 39894 invoked from network); 2 Nov 2006 06:42:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 06:42:00 -0000 Received: (qmail 91941 invoked by uid 500); 2 Nov 2006 06:42:11 -0000 Delivered-To: waltersashley@example.com Received: (qmail 91900 invoked by uid 500); 2 Nov 2006 06:42:11 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 91880 invoked by uid 99); 2 Nov 2006 06:42:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:42:11 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:41:59 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id C41507142FA for <waltersashley@example.com>; Wed, 1 Nov 2006 22:41:27 -0800 (PST) Message-ID: <22896983.1162449687800.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 22:41:27 -0800 (PST) From: "David Blevins (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Updated: (OPENEJB-235) javax.ejb.Local 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/OPENEJB-235?page=all ] David Blevins updated OPENEJB-235: ---------------------------------- Assignee: David Blevins > javax.ejb.Local > --------------- > > Key: OPENEJB-235 > URL: http://issues.apache.org/jira/browse/OPENEJB-235 > Project: OpenEJB > Issue Type: Sub-task > Components: deployment, ejb3 simplified > Affects Versions: 3.0 > Reporter: David Blevins > Assigned To: David Blevins > Fix For: 3.0 > > > @Target(ElementType.TYPE) > @Retention(RetentionPolicy.RUNTIME) > public @interface Local { > Class[] value() default {}; > } -- 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 From openejb-commits-return-424waltersashley@example.com Thu Nov 02 06:42:04 2006 Return-Path: <openejb-commits-return-424waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 39922 invoked from network); 2 Nov 2006 06:42:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 06:42:01 -0000 Received: (qmail 92099 invoked by uid 500); 2 Nov 2006 06:42:12 -0000 Delivered-To: waltersashley@example.com Received: (qmail 92064 invoked by uid 500); 2 Nov 2006 06:42:12 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 92047 invoked by uid 99); 2 Nov 2006 06:42:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:42:12 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:42:00 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 5B04A7142FE for <waltersashley@example.com>; Wed, 1 Nov 2006 22:41:30 -0800 (PST) Message-ID: <32677391.1162449690370.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 22:41:30 -0800 (PST) From: "David Blevins (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Updated: (OPENEJB-243) javax.ejb.Stateful 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/OPENEJB-243?page=all ] David Blevins updated OPENEJB-243: ---------------------------------- Assignee: David Blevins > javax.ejb.Stateful > ------------------ > > Key: OPENEJB-243 > URL: http://issues.apache.org/jira/browse/OPENEJB-243 > Project: OpenEJB > Issue Type: Sub-task > Components: deployment, ejb3 simplified > Affects Versions: 3.0 > Reporter: David Blevins > Assigned To: David Blevins > Fix For: 3.0 > > > @Target(ElementType.TYPE) > @Retention(RetentionPolicy.RUNTIME) > public @interface Stateful { > String name() default ""; > String mappedName() default ""; > String description() default ""; > } -- 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 From openejb-commits-return-425waltersashley@example.com Thu Nov 02 06:42:07 2006 Return-Path: <openejb-commits-return-425waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 39936 invoked from network); 2 Nov 2006 06:42:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 06:42:01 -0000 Received: (qmail 92114 invoked by uid 500); 2 Nov 2006 06:42:12 -0000 Delivered-To: waltersashley@example.com Received: (qmail 92067 invoked by uid 500); 2 Nov 2006 06:42:12 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 92048 invoked by uid 99); 2 Nov 2006 06:42:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:42:12 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:42:00 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 0B2697142FC for <waltersashley@example.com>; Wed, 1 Nov 2006 22:41:29 -0800 (PST) Message-ID: <13583995.1162449689043.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 22:41:29 -0800 (PST) From: "David Blevins (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Updated: (OPENEJB-238) javax.ejb.PostActivate 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/OPENEJB-238?page=all ] David Blevins updated OPENEJB-238: ---------------------------------- Assignee: David Blevins > javax.ejb.PostActivate > ---------------------- > > Key: OPENEJB-238 > URL: http://issues.apache.org/jira/browse/OPENEJB-238 > Project: OpenEJB > Issue Type: Sub-task > Components: deployment, ejb3 simplified > Affects Versions: 3.0 > Reporter: David Blevins > Assigned To: David Blevins > Fix For: 3.0 > > > @Target({ElementType.METHOD}) > @Retention(RetentionPolicy.RUNTIME) > public @interface PostActivate { > } -- 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 From openejb-commits-return-426waltersashley@example.com Thu Nov 02 06:42:07 2006 Return-Path: <openejb-commits-return-426waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 39952 invoked from network); 2 Nov 2006 06:42:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 06:42:02 -0000 Received: (qmail 92249 invoked by uid 500); 2 Nov 2006 06:42:13 -0000 Delivered-To: waltersashley@example.com Received: (qmail 92225 invoked by uid 500); 2 Nov 2006 06:42:13 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 92216 invoked by uid 99); 2 Nov 2006 06:42:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:42:13 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 22:42:01 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 9D92771430D for <waltersashley@example.com>; Wed, 1 Nov 2006 22:41:31 -0800 (PST) Message-ID: <18610198.1162449691642.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 22:41:31 -0800 (PST) From: "David Blevins (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Updated: (OPENEJB-239) javax.ejb.PrePassivate 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/OPENEJB-239?page=all ] David Blevins updated OPENEJB-239: ---------------------------------- Assignee: David Blevins > javax.ejb.PrePassivate > ---------------------- > > Key: OPENEJB-239 > URL: http://issues.apache.org/jira/browse/OPENEJB-239 > Project: OpenEJB > Issue Type: Sub-task > Components: deployment, ejb3 simplified > Affects Versions: 3.0 > Reporter: David Blevins > Assigned To: David Blevins > Fix For: 3.0 > > > @Target({ElementType.METHOD}) > @Retention(RetentionPolicy.RUNTIME) > public @interface PrePassivate { > } -- 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 From openejb-commits-return-427waltersashley@example.com Thu Nov 02 07:18:48 2006 Return-Path: <openejb-commits-return-427waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 47031 invoked from network); 2 Nov 2006 07:18:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 07:18:41 -0000 Received: (qmail 24829 invoked by uid 500); 2 Nov 2006 07:18:52 -0000 Delivered-To: waltersashley@example.com Received: (qmail 24800 invoked by uid 500); 2 Nov 2006 07:18:51 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 24791 invoked by uid 99); 2 Nov 2006 07:18:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 23:18:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 23:18:38 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 5AA457142BF for <waltersashley@example.com>; Wed, 1 Nov 2006 23:18:18 -0800 (PST) Message-ID: <1835083.1162451898368.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 23:18:18 -0800 (PST) From: "David Blevins (JIRA)" <waltersashley@example.com> To: waltersashley@example.com Subject: [jira] Assigned: (OPENEJB-237) javax.ejb.MessageDriven 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/OPENEJB-237?page=all ] David Blevins reassigned OPENEJB-237: ------------------------------------- Assignee: David Blevins > javax.ejb.MessageDriven > ----------------------- > > Key: OPENEJB-237 > URL: http://issues.apache.org/jira/browse/OPENEJB-237 > Project: OpenEJB > Issue Type: Sub-task > Components: deployment, ejb3 simplified > Affects Versions: 3.0 > Reporter: David Blevins > Assigned To: David Blevins > Fix For: 3.0 > > > @Target(ElementType.TYPE) > @Retention(RetentionPolicy.RUNTIME) > public @interface MessageDriven { > String name() default ""; > Class messageListenerInterface() default Object.class; > ActivationConfigProperty[] activationConfig() default {}; > String mappedName() default ""; > String description() default ""; > } -- 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 From openejb-commits-return-428waltersashley@example.com Thu Nov 02 07:22:41 2006 Return-Path: <openejb-commits-return-428waltersashley@example.com> Delivered-To: waltersashley@example.com Received: (qmail 47635 invoked from network); 2 Nov 2006 07:22:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 07:22:41 -0000 Received: (qmail 26533 invoked by uid 500); 2 Nov 2006 07:22:52 -0000 Delivered-To: waltersashley@example.com Received: (qmail 26523 invoked by uid 500); 2 Nov 2006 07:22:52 -0000 Mailing-List: contact waltersashley@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:waltersashley@example.com> List-Unsubscribe: <mailto:waltersashley@example.com> List-Post: <mailto:waltersashley@example.com> List-Id: <openejb-commits.incubator.apache.org> Reply-To: waltersashley@example.com Delivered-To: mailing list waltersashley@example.com Received: (qmail 26514 invoked by uid 99); 2 Nov 2006 07:22:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 23:22:52 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eris.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 23:22:39 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 2CB7A1A9846; Wed, 1 Nov 2006 23:22:15 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r470257 - in /incubator/openejb/trunk/openejb3/container: openejb-core/ openejb-core/src/main/java/org/apache/openejb/alt/config/ openejb-jee/src/main/java/org/apache/openejb/jee/ Date: Thu, 02 Nov 2006 07:22:13 -0000 To: waltersashley@example.com From: waltersashley@example.com X-Mailer: svnmailer-1.1.0 Message-Id: <waltersashley@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Author: dblevins Date: Wed Nov 1 23:22:11 2006 New Revision: 470257 URL: http://svn.apache.org/viewvc?view=rev&rev=470257 Log: Support for several EJB 3.0 annotations OPENEJB-221: javax.annotation.PostConstruct OPENEJB-222: javax.annotation.PreDestroy OPENEJB-235: javax.ejb.Local OPENEJB-236: javax.ejb.LocalHome OPENEJB-238: javax.ejb.PostActivate OPENEJB-239: javax.ejb.PrePassivate OPENEJB-240: javax.ejb.Remote OPENEJB-241: javax.ejb.RemoteHome OPENEJB-243: javax.ejb.Stateful OPENEJB-244: javax.ejb.Stateless OPENEJB-246: javax.ejb.TransactionAttribute OPENEJB-247: javax.ejb.TransactionManagement Partial support for OPENEJB-237 javax.ejb.MessageDriven Added: incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/alt/config/AnnotationDeployer.java incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/MethodTransaction.java Modified: incubator/openejb/trunk/openejb3/container/openejb-core/pom.xml incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/alt/config/DeploymentLoader.java incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/alt/config/EjbJarInfoBuilder.java incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/AroundInvoke.java incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/AssemblyDescriptor.java incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/ContainerTransaction.java incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EnterpriseBean.java incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EntityBean.java incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/MessageDrivenBean.java incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/Method.java incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/SessionBean.java Modified: incubator/openejb/trunk/openejb3/container/openejb-core/pom.xml URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-core/pom.xml?view=diff&rev=470257&r1=470256&r2=470257 ============================================================================== --- incubator/openejb/trunk/openejb3/container/openejb-core/pom.xml (original) +++ incubator/openejb/trunk/openejb3/container/openejb-core/pom.xml Wed Nov 1 23:22:11 2006 @@ -17,7 +17,7 @@ --> -<!-- $Rev$ $Date$ --> + <!-- $Rev$ $Date$ --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> @@ -64,7 +64,7 @@ <configuration> <tasks> <tstamp> - <format property="TSTAMP" pattern="hh:mm" /> + <format property="TSTAMP" pattern="hh:mm"/> </tstamp> <replace file="target/classes/openejb-version.properties" token="@DATE-REPLACED-BY-MAVEN@" value="${DSTAMP}"/> @@ -85,7 +85,8 @@ <!--<addClasspath>true</addClasspath>--> </manifest> <manifestEntries> - <Class-Path>openejb-loader-${pom.version}.jar xbean-finder-${removePropertyFromCorePomXbeanVersion}.jar</Class-Path> + <Class-Path>openejb-loader-${pom.version}.jar + xbean-finder-${removePropertyFromCorePomXbeanVersion}.jar</Class-Path> </manifestEntries> </archive> </configuration> @@ -103,7 +104,8 @@ </executions> <configuration> <namespace>http://openejb.apache.org/schemas/core</namespace> - <excludedClasses>org.apache.openejb.alt.config.ejb,org.apache.openejb.util.io,org.apache.openejb.InterfaceType,org.apache.openejb.BeanType</excludedClasses> + <excludedClasses> + org.apache.openejb.alt.config.ejb,org.apache.openejb.util.io,org.apache.openejb.InterfaceType,org.apache.openejb.BeanType</excludedClasses> </configuration> </plugin> </plugins> @@ -170,6 +172,16 @@ <dependency> <groupId>org.apache.xbean</groupId> <artifactId>xbean-finder</artifactId> + </dependency> + <dependency> + <groupId>asm</groupId> + <artifactId>asm</artifactId> + <version>2.2.3</version> + </dependency> + <dependency> + <groupId>asm</groupId> + <artifactId>asm-commons</artifactId> + <version>2.2.3</version> </dependency> <dependency> <groupId>geronimo</groupId> Added: incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/alt/config/AnnotationDeployer.java URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/alt/config/AnnotationDeployer.java?view=auto&rev=470257 ============================================================================== --- incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/alt/config/AnnotationDeployer.java (added) +++ incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/alt/config/AnnotationDeployer.java Wed Nov 1 23:22:11 2006 @@ -0,0 +1,377 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.openejb.alt.config; + +import org.apache.openejb.OpenEJBException; +import org.apache.openejb.jee.AroundInvoke; +import org.apache.openejb.jee.EjbJar; +import org.apache.openejb.jee.EnterpriseBean; +import org.apache.openejb.jee.LifecycleCallback; +import org.apache.openejb.jee.RemoteBean; +import org.apache.openejb.jee.SessionBean; +import org.apache.openejb.jee.StatefulBean; +import org.apache.openejb.jee.StatelessBean; +import org.apache.openejb.jee.TransactionType; +import org.apache.openejb.jee.AssemblyDescriptor; +import org.apache.openejb.jee.TransAttribute; +import org.apache.openejb.jee.MethodTransaction; +import org.apache.openejb.jee.ContainerTransaction; +import org.apache.openejb.jee.MethodParams; +import org.apache.openejb.jee.MessageDrivenBean; +import org.apache.openejb.util.Logger; +import org.apache.xbean.finder.ClassFinder; + +import javax.annotation.PostConstruct; +import javax.annotation.PreDestroy; +import javax.ejb.Local; +import javax.ejb.LocalHome; +import javax.ejb.PostActivate; +import javax.ejb.PrePassivate; +import javax.ejb.Remote; +import javax.ejb.RemoteHome; +import javax.ejb.Stateful; +import javax.ejb.Stateless; +import javax.ejb.TransactionAttribute; +import javax.ejb.TransactionManagement; +import javax.ejb.TransactionManagementType; +import javax.ejb.TransactionAttributeType; +import javax.ejb.MessageDriven; +import java.io.File; +import java.lang.reflect.Method; +import java.net.MalformedURLException; +import java.net.URL; +import java.util.Arrays; +import java.util.List; +import java.util.Map; +import java.util.ArrayList; + +/** + * @version $Rev$ $Date$ + */ +public class AnnotationDeployer implements DynamicDeployer { + + public static final Logger logger = Logger.getInstance("OpenEJB.startup", AnnotationDeployer.class.getPackage().getName()); + private final DynamicDeployer deployer; + private final DiscoverBeansInClassLoader discoverBeansInClassLoader; + private final ProcessAnnotatedBeans processAnnotatedBeans; + + public AnnotationDeployer(DynamicDeployer deployer) { + this.deployer = deployer; + + discoverBeansInClassLoader = new DiscoverBeansInClassLoader(); + processAnnotatedBeans = new ProcessAnnotatedBeans(); + } + + public EjbModule deploy(EjbModule ejbModule) throws OpenEJBException { + ejbModule = discoverBeansInClassLoader.deploy(ejbModule); + ejbModule = deployer.deploy(ejbModule); + ejbModule = processAnnotatedBeans.deploy(ejbModule); + return ejbModule; + } + + public static class DiscoverBeansInClassLoader implements DynamicDeployer { + + public EjbModule deploy(EjbModule ejbModule) throws OpenEJBException { + ClassFinder finder; + if (ejbModule.getJarURI() != null) { + try { + String location = ejbModule.getJarURI(); + File file = new File(location); + + URL url; + if (file.exists()) { + url = file.toURL(); + } else { + url = new URL(location); + } + finder = new ClassFinder(ejbModule.getClassLoader(), url); + } catch (MalformedURLException e) { + DeploymentLoader.logger.warning("Unable to scrape for @Stateful, @Stateless or @MessageDriven annotations. EjbModule URL not valid: " + ejbModule.getJarURI(), e); + return ejbModule; + } + } else { + try { + finder = new ClassFinder(ejbModule.getClassLoader()); + } catch (Exception e) { + DeploymentLoader.logger.warning("Unable to scrape for @Stateful, @Stateless or @MessageDriven annotations. ClassFinder failed.", e); + return ejbModule; + } + } + + EjbJar ejbJar = ejbModule.getEjbJar(); + + List<Class> classes = finder.findAnnotatedClasses(Stateless.class); + for (Class beanClass : classes) { + Stateless stateless = (Stateless) beanClass.getAnnotation(Stateless.class); + String ejbName = stateless.name().length() == 0 ? beanClass.getSimpleName() : stateless.name(); + if (ejbJar.getEnterpriseBean(ejbName) == null) { + ejbJar.addEnterpriseBean(new StatelessBean(ejbName, beanClass.getName())); + } + } + + classes = finder.findAnnotatedClasses(Stateful.class); + for (Class beanClass : classes) { + Stateful stateless = (Stateful) beanClass.getAnnotation(Stateful.class); + String ejbName = stateless.name().length() == 0 ? beanClass.getName() : stateless.name(); + if (ejbJar.getEnterpriseBean(ejbName) == null) { + ejbJar.addEnterpriseBean(new StatefulBean(ejbName, beanClass.getName())); + } + } + + classes = finder.findAnnotatedClasses(MessageDriven.class); + for (Class beanClass : classes) { + MessageDriven mdb = (MessageDriven) beanClass.getAnnotation(MessageDriven.class); + String ejbName = mdb.name().length() == 0 ? beanClass.getName() : mdb.name(); + if (ejbJar.getEnterpriseBean(ejbName) == null) { + MessageDrivenBean messageBean = new MessageDrivenBean(ejbName); + Class interfce = mdb.messageListenerInterface(); + if (interfce != null){ + messageBean.setMessagingType(interfce.getName()); + } + ejbJar.addEnterpriseBean(messageBean); + } + } + + return ejbModule; + } + } + + public static class ProcessAnnotatedBeans implements DynamicDeployer { + public EjbModule deploy(EjbModule ejbModule) throws OpenEJBException { + + ClassLoader classLoader = ejbModule.getClassLoader(); + EnterpriseBean[] enterpriseBeans = ejbModule.getEjbJar().getEnterpriseBeans(); + for (EnterpriseBean bean : enterpriseBeans) { + final String ejbName = bean.getEjbName(); + + Class clazz = null; + try { + clazz = classLoader.loadClass(bean.getEjbClass()); + } catch (ClassNotFoundException e) { + throw new OpenEJBException("Unable to load bean class: " + bean.getEjbClass()); + } + ClassFinder classFinder = new ClassFinder(clazz); + + if (bean.getTransactionType() == null) { + TransactionManagement tx = (TransactionManagement) clazz.getAnnotation(TransactionManagement.class); + TransactionManagementType transactionType = tx.value(); + switch(transactionType){ + case BEAN: bean.setTransactionType(TransactionType.BEAN); break; + case CONTAINER: bean.setTransactionType(TransactionType.CONTAINER); break; + } + } + + AssemblyDescriptor assemblyDescriptor = ejbModule.getEjbJar().getAssemblyDescriptor(); + if (assemblyDescriptor == null){ + assemblyDescriptor = new AssemblyDescriptor(); + ejbModule.getEjbJar().setAssemblyDescriptor(assemblyDescriptor); + } + + if (bean.getTransactionType() == TransactionType.CONTAINER){ + Map<String, List<MethodTransaction>> methodTransactions = assemblyDescriptor.getMethodTransactions(ejbName); + + // SET THE DEFAULT + if (!methodTransactions.containsKey("*")){ + TransactionAttribute attribute = (TransactionAttribute) clazz.getAnnotation(TransactionAttribute.class); + if (attribute != null){ + ContainerTransaction ctx = new ContainerTransaction(cast(attribute.value()), ejbName, "*"); + assemblyDescriptor.getContainerTransaction().add(ctx); + } + } + + List<Method> methods = classFinder.findAnnotatedMethods(TransactionAttribute.class); + for (Method method : methods) { + TransactionAttribute attribute = method.getAnnotation(TransactionAttribute.class); + if (!methodTransactions.containsKey(method.getName())){ + // no method with this name in descriptor + addContainerTransaction(attribute, ejbName, method, assemblyDescriptor); + } else { + // method name already declared + List<MethodTransaction> list = methodTransactions.get(method.getName()); + for (MethodTransaction mtx : list) { + MethodParams methodParams = mtx.getMethodParams(); + if (methodParams == null){ + // params not specified, so this is more specific + addContainerTransaction(attribute, ejbName, method, assemblyDescriptor); + } else { + List<String> params1 = methodParams.getMethodParam(); + String[] params2 = asStrings(method.getParameterTypes()); + if (params1.size() != params2.length) { + // params not the same + addContainerTransaction(attribute, ejbName, method, assemblyDescriptor); + } else { + for (int i = 0; i < params1.size(); i++) { + String a = params1.get(i); + String b = params2[i]; + if (!a.equals(b)){ + // params not the same + addContainerTransaction(attribute, ejbName, method, assemblyDescriptor); + break; + } + } + } + } + } + } + } + } + + LifecycleCallback postConstruct = getFirst(bean.getPostConstruct()); + if (postConstruct == null) { + Method method = getFirst(classFinder.findAnnotatedMethods(PostConstruct.class)); + if (method != null) bean.addPostConstruct(method.getName()); + } + + LifecycleCallback preDestroy = getFirst(bean.getPreDestroy()); + if (preDestroy == null) { + Method method = getFirst(classFinder.findAnnotatedMethods(PreDestroy.class)); + if (method != null) bean.addPreDestroy(method.getName()); + } + + AroundInvoke aroundInvoke = getFirst(bean.getAroundInvoke()); + if (aroundInvoke == null) { + Method method = getFirst(classFinder.findAnnotatedMethods(javax.interceptor.AroundInvoke.class)); + if (method != null) bean.addAroundInvoke(method.getName()); + } + + if (bean instanceof org.apache.openejb.jee.SessionBean) { + org.apache.openejb.jee.SessionBean sessionBean = (org.apache.openejb.jee.SessionBean) bean; + + LifecycleCallback postActivate = getFirst(sessionBean.getPostActivate()); + if (postActivate == null) { + Method method = getFirst(classFinder.findAnnotatedMethods(PostActivate.class)); + if (method != null) sessionBean.addPostActivate(method.getName()); + } + + LifecycleCallback prePassivate = getFirst(sessionBean.getPrePassivate()); + if (prePassivate == null) { + Method method = getFirst(classFinder.findAnnotatedMethods(PrePassivate.class)); + if (method != null) sessionBean.addPrePassivate(method.getName()); + } + } + + if (bean instanceof RemoteBean) { + RemoteBean remoteBean = (RemoteBean) bean; + + if (remoteBean.getHome() == null) { + RemoteHome remoteHome = (RemoteHome) clazz.getAnnotation(RemoteHome.class); + if (remoteHome != null) { + Class homeClass = remoteHome.value(); + try { + Method create = homeClass.getMethod("create"); + Class remoteClass = create.getReturnType(); + remoteBean.setHome(homeClass.getName()); + remoteBean.setRemote(remoteClass.getName()); + } catch (NoSuchMethodException e) { + logger.error("Class annotated as a RemoteHome has no 'create()' method. Unable to determine remote interface type. Bean class: " + clazz.getName() + ", Home class: " + homeClass.getName()); + } + } + } + + if (remoteBean.getLocalHome() == null) { + LocalHome localHome = (LocalHome) clazz.getAnnotation(LocalHome.class); + if (localHome != null) { + Class homeClass = localHome.value(); + try { + Method create = homeClass.getMethod("create"); + Class remoteClass = create.getReturnType(); + remoteBean.setHome(homeClass.getName()); + remoteBean.setRemote(remoteClass.getName()); + } catch (NoSuchMethodException e) { + logger.error("Class annotated as a LocalHome has no 'create()' method. Unable to determine remote interface type. Bean class: " + clazz.getName() + ", Home class: " + homeClass.getName()); + } + } + } + + if (remoteBean instanceof SessionBean) { + SessionBean sessionBean = (SessionBean) remoteBean; + + List<Class> interfaces = new ArrayList(); + interfaces.addAll(Arrays.asList(clazz.getInterfaces())); + + // Remove anything not eligable to be a remote or local interface + for (Class interfce : copy(interfaces)) { + String name = interfce.getName(); + if (name.equals("java.io.Serializable") || name.equals("java.io.Externalizable") || name.startsWith("javax.ejb.")) { + interfaces.remove(interfce); + } + } + + Remote remote = (Remote) clazz.getAnnotation(Remote.class); + if (remote != null) { + for (Class interfce : remote.value()) { + sessionBean.setBusinessRemote(interfce.getName()); // TODO: This should be turned back into an array + } + } else { +// for (Class interfce : copy(interfaces)) { +// if (interfce.isAnnotationPresent(Remote.class)) { +// sessionBean.setBusinessRemote(interfce.getName()); // TODO: This should be turned back into an array +// interfaces.remove(interfce); +// } +// } + } + + + Local local = (Local) clazz.getAnnotation(Local.class); + if (local != null) { + for (Class interfce : local.value()) { + sessionBean.setBusinessLocal(interfce.getName()); // TODO: This should be turned back into an array + } + } else { +// for (Class interfce : copy(interfaces)) { +// sessionBean.setBusinessLocal(interfce.getName()); // TODO: This should be turned back into an array +// } + } + } + } + + + } + return ejbModule; + } + + private List<Class> copy(List<Class> classes) { + return new ArrayList(classes); + } + + private void addContainerTransaction(TransactionAttribute attribute, String ejbName, Method method, AssemblyDescriptor assemblyDescriptor) { + ContainerTransaction ctx = new ContainerTransaction(cast(attribute.value()), ejbName, method.getName(), asStrings(method.getParameterTypes())); + assemblyDescriptor.getContainerTransaction().add(ctx); + } + + private String[] asStrings(Class[] types) { + List<String> names = new ArrayList(); + for (Class clazz : types) { + names.add(clazz.getName()); + } + return names.toArray(new String[]{}); + } + + private TransAttribute cast(TransactionAttributeType transactionAttributeType) { + return TransAttribute.valueOf(transactionAttributeType.toString()); + } + + private <T> T getFirst(List<T> list) { + if (list.size() > 0) { + return list.get(0); + } + return null; + } + } + + +} Modified: incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/alt/config/DeploymentLoader.java URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/alt/config/DeploymentLoader.java?view=diff&rev=470257&r1=470256&r2=470257 ============================================================================== --- incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/alt/config/DeploymentLoader.java (original) +++ incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/alt/config/DeploymentLoader.java Wed Nov 1 23:22:11 2006 @@ -22,7 +22,10 @@ import org.apache.openejb.loader.SystemInstance; import org.apache.openejb.OpenEJBException; import org.apache.openejb.OpenEJB; +import org.apache.openejb.util.Logger; +import org.apache.xbean.finder.ClassFinder; +import javax.ejb.Stateless; import java.util.List; import java.util.ArrayList; import java.util.Enumeration; @@ -38,6 +41,8 @@ */ public class DeploymentLoader { + public static final Logger logger = Logger.getInstance("OpenEJB.startup", DeploymentLoader.class.getPackage().getName()); + public DeploymentLoader(){ } @@ -121,7 +126,6 @@ return loadDeploymentsList(list, null); } - public List<EjbModule> loadDeploymentsList(List<Deployments> deployments, DynamicDeployer deployer) throws OpenEJBException { if (deployer == null){ deployer = new DynamicDeployer(){ @@ -131,6 +135,8 @@ }; } + deployer = new AnnotationDeployer(deployer); + if (!SystemInstance.get().getProperty("openejb.validation.skip", "false").equalsIgnoreCase("true")){ deployer = new ValidateEjbModule(deployer); } Modified: incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/alt/config/EjbJarInfoBuilder.java URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/alt/config/EjbJarInfoBuilder.java?view=diff&rev=470257&r1=470256&r2=470257 ============================================================================== --- incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/alt/config/EjbJarInfoBuilder.java (original) +++ incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/alt/config/EjbJarInfoBuilder.java Wed Nov 1 23:22:11 2006 @@ -56,6 +56,7 @@ import org.apache.openejb.jee.SessionBean; import org.apache.openejb.jee.SessionType; import org.apache.openejb.jee.LifecycleCallback; +import org.apache.openejb.jee.TransactionType; import org.apache.openejb.loader.SystemInstance; import java.io.File; @@ -396,7 +397,8 @@ bean.local = s.getLocal(); bean.businessLocal = s.getBusinessLocal(); bean.businessRemote = s.getBusinessRemote(); - bean.transactionType = s.getTransactionType().toString(); + TransactionType txType = s.getTransactionType(); + bean.transactionType = (txType != null)?txType.toString(): TransactionType.CONTAINER.toString(); return bean; } Modified: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/AroundInvoke.java URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/AroundInvoke.java?view=diff&rev=470257&r1=470256&r2=470257 ============================================================================== --- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/AroundInvoke.java (original) +++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/AroundInvoke.java Wed Nov 1 23:22:11 2006 @@ -49,6 +49,14 @@ @XmlElement(name = "method-name", required = true) protected String methodName; + public AroundInvoke() { + } + + public AroundInvoke(String clazz, String methodName) { + this.clazz = clazz; + this.methodName = methodName; + } + public String getClazz() { return clazz; } Modified: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/AssemblyDescriptor.java URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/AssemblyDescriptor.java?view=diff&rev=470257&r1=470256&r2=470257 ============================================================================== --- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/AssemblyDescriptor.java (original) +++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/AssemblyDescriptor.java Wed Nov 1 23:22:11 2006 @@ -24,10 +24,13 @@ import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlID; import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlTransient; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import java.util.ArrayList; import java.util.List; +import java.util.Map; +import java.util.LinkedHashMap; /** @@ -99,6 +102,25 @@ containerTransaction = new ArrayList<ContainerTransaction>(); } return this.containerTransaction; + } + + public Map<String,List<MethodTransaction>> getMethodTransactions(String ejbName) { + Map<String,List<MethodTransaction>> methods = new LinkedHashMap(); + for (ContainerTransaction transaction : getContainerTransaction()) { + + for (Method method : transaction.getMethod()) { + if (method.getEjbName().equals(ejbName)){ + String methodName = method.getMethodName(); + List<MethodTransaction> list = methods.get(methodName); + if (list == null){ + list = new ArrayList(); + methods.put(methodName, list); + } + list.add(new MethodTransaction(transaction.getTransAttribute(), method)); + } + } + } + return methods; } public List<InterceptorBinding> getInterceptorBinding() { Modified: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/ContainerTransaction.java URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/ContainerTransaction.java?view=diff&rev=470257&r1=470256&r2=470257 ============================================================================== --- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/ContainerTransaction.java (original) +++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/ContainerTransaction.java Wed Nov 1 23:22:11 2006 @@ -64,6 +64,18 @@ return description.toArray(); } + public ContainerTransaction() { + } + + + public ContainerTransaction(TransAttribute transAttribute, String ejbName, String methodName, String... parameters) { + this(transAttribute, new Method(ejbName, methodName, parameters)); + } + public ContainerTransaction(TransAttribute transAttribute, Method method) { + this.transAttribute = transAttribute; + getMethod().add(method); + } + public void setDescriptions(Text[] text) { description.set(text); } Modified: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EnterpriseBean.java URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EnterpriseBean.java?view=diff&rev=470257&r1=470256&r2=470257 ============================================================================== --- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EnterpriseBean.java (original) +++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EnterpriseBean.java Wed Nov 1 23:22:11 2006 @@ -43,6 +43,8 @@ public List<AroundInvoke> getAroundInvoke(); + public void addAroundInvoke(String method); + public List<EnvEntry> getEnvEntry(); public List<EjbRef> getEjbRef(); @@ -65,6 +67,10 @@ public List<LifecycleCallback> getPreDestroy(); + public void addPostConstruct(String method); + + public void addPreDestroy(String method); + public SecurityIdentity getSecurityIdentity(); public void setSecurityIdentity(SecurityIdentity value); @@ -72,5 +78,9 @@ public String getId(); public void setId(String value); + + public TransactionType getTransactionType(); + + public void setTransactionType(TransactionType type); } Modified: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EntityBean.java URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EntityBean.java?view=diff&rev=470257&r1=470256&r2=470257 ============================================================================== --- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EntityBean.java (original) +++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EntityBean.java Wed Nov 1 23:22:11 2006 @@ -463,6 +463,11 @@ return this.postConstruct; } + public void addPostConstruct(String method){ + assert ejbClass != null: "Set the ejbClass before calling this method"; + getPostConstruct().add(new LifecycleCallback(ejbClass, method)); + } + public List<LifecycleCallback> getPreDestroy() { if (preDestroy == null) { preDestroy = new ArrayList<LifecycleCallback>(); @@ -470,6 +475,11 @@ return this.preDestroy; } + public void addPreDestroy(String method){ + assert ejbClass != null: "Set the ejbClass before calling this method"; + getPreDestroy().add(new LifecycleCallback(ejbClass, method)); + } + public List<SecurityRoleRef> getSecurityRoleRef() { if (securityRoleRef == null) { securityRoleRef = new ArrayList<SecurityRoleRef>(); @@ -503,4 +513,18 @@ public List<AroundInvoke> getAroundInvoke() { return Collections.EMPTY_LIST; } + + +
{'source': 'Apache Software Foundation Public Mail Archives'}