Return-Path: X-Original-To: apmail-logging-log4j-dev-archive@www.apache.org Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34277103FF for ; Sun, 26 Jan 2014 23:46:40 +0000 (UTC) Received: (qmail 39764 invoked by uid 500); 26 Jan 2014 23:46:38 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 39644 invoked by uid 500); 26 Jan 2014 23:46:38 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 39636 invoked by uid 99); 26 Jan 2014 23:46:37 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jan 2014 23:46:37 +0000 Date: Sun, 26 Jan 2014 23:46:37 +0000 (UTC) From: "Matt Sicker (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (LOG4J2-515) Support OSGi bundles without requiring OSGi dependencies. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Matt Sicker created LOG4J2-515: ---------------------------------- Summary: Support OSGi bundles without requiring OSGi dependencies. Key: LOG4J2-515 URL: https://issues.apache.org/jira/browse/LOG4J2-515 Project: Log4j 2 Issue Type: Epic Components: API, Appenders, Configurators, Core, Filters, Layouts, Receivers Affects Versions: 2.0-rc1 Environment: OSGi, non-OSGi Reporter: Matt Sicker In order to properly support OSGi, we need to use a combination of ideas. # Packages and modules should be as coherent as possible. This makes bundling them into bundles and services significantly easier. Plus, it's a good idea anyway. # Use [Felix SCR annotations|http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html] in order to support more advanced OSGi concepts without requiring an explicit dependency on OSGi. This way, the annotations can be discarded or ignored by non-OSGi environments. # Provide more bundles. The core bundles, while a good start, could be further modularized. # Don't rely on class loader hacks. Instead, methods that need to use a class loader should always include a ClassLoader parameter. Class loader hacks can be used in centralized locations as a fallback mechanism where no advanced class loaders are provided. -- This message was sent by Atlassian JIRA (v6.1.5#6160) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org