From dev-return-16969-apmail-aries-dev-archive=aries.apache.org@aries.apache.org Mon Apr 11 15:08:25 2016 Return-Path: X-Original-To: apmail-aries-dev-archive@www.apache.org Delivered-To: apmail-aries-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 C5AE11928F for ; Mon, 11 Apr 2016 15:08:25 +0000 (UTC) Received: (qmail 61778 invoked by uid 500); 11 Apr 2016 15:08:25 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 61732 invoked by uid 500); 11 Apr 2016 15:08:25 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 61675 invoked by uid 99); 11 Apr 2016 15:08:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2016 15:08:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 76B3F2C1F5A for ; Mon, 11 Apr 2016 15:08:25 +0000 (UTC) Date: Mon, 11 Apr 2016 15:08:25 +0000 (UTC) From: "Guillaume Nodet (JIRA)" To: dev@aries.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ARIES-1525) The RSA core should not get the service before it is needed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ARIES-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235237#comment-15235237 ] Guillaume Nodet commented on ARIES-1525: ---------------------------------------- I'm not sure to understand what you mean. The service is retrieved from the registry as soon as the service is exported, which means as soon as it is exposed in the OSGi registry with the remote property. My proposal is to delay that until the service is invoked, so that's clearly different. > The RSA core should not get the service before it is needed > ------------------------------------------------------------ > > Key: ARIES-1525 > URL: https://issues.apache.org/jira/browse/ARIES-1525 > Project: Aries > Issue Type: Improvement > Components: Remote Service Admin > Reporter: Guillaume Nodet > Fix For: rsa-2.0.0 > > > {{RemoteServiceAdminCore#exportService}} get the service implementation from the OSGi registry and pass it as an argument to the {{DistributionProvider}}. > I think this should be delayed until the service is actually used. -- This message was sent by Atlassian JIRA (v6.3.4#6332)