Return-Path: X-Original-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 082AFB1D0 for ; Sun, 22 Jan 2012 11:56:04 +0000 (UTC) Received: (qmail 13773 invoked by uid 500); 22 Jan 2012 11:56:03 -0000 Delivered-To: apmail-incubator-deltaspike-dev-archive@incubator.apache.org Received: (qmail 13739 invoked by uid 500); 22 Jan 2012 11:56:03 -0000 Mailing-List: contact deltaspike-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltaspike-dev@incubator.apache.org Delivered-To: mailing list deltaspike-dev@incubator.apache.org Received: (qmail 13731 invoked by uid 99); 22 Jan 2012 11:56:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jan 2012 11:56:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jan 2012 11:56:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CF24D15BFFE for ; Sun, 22 Jan 2012 11:55:39 +0000 (UTC) Date: Sun, 22 Jan 2012 11:55:39 +0000 (UTC) From: "Mark Struberg (Commented) (JIRA)" To: deltaspike-dev@incubator.apache.org Message-ID: <1758214960.64423.1327233339849.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <708635765.35319.1324473810538.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DELTASPIKE-24) Deactivatable 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/DELTASPIKE-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190653#comment-13190653 ] Mark Struberg commented on DELTASPIKE-24: ----------------------------------------- The current code is pretty nice if a given ClassDeactivator doesn't exist. > currentClassDeactivator = > ClassUtils.tryToInstantiateClassForName(classDeactivatorClassName, ClassDeactivator.class); > ... if null... LOG.warning(classDeactivatorClassName + " can't be instantiated"); I think this is way to nice. If someone configured a not existing ClassDeactivator, then the system should just blow up. This is most probably a misspelling on the class name and thus a serious problem. > Deactivatable > ------------- > > Key: DELTASPIKE-24 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-24 > Project: DeltaSpike > Issue Type: New Feature > Components: Core > Reporter: Gerhard Petracek > Assignee: Mark Struberg > Fix For: 0.1 > > > original feature: https://issues.apache.org/jira/browse/EXTCDI-66 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira