Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C778D200B98 for ; Mon, 3 Oct 2016 19:08:33 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C6024160ADC; Mon, 3 Oct 2016 17:08:33 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0F73C160ACD for ; Mon, 3 Oct 2016 19:08:32 +0200 (CEST) Received: (qmail 77115 invoked by uid 500); 3 Oct 2016 17:08:32 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 77099 invoked by uid 99); 3 Oct 2016 17:08:31 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2016 17:08:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 532BEC0DDD for ; Mon, 3 Oct 2016 17:08:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.929 X-Spam-Level: * X-Spam-Status: No, score=1.929 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 6s1nN9a_6p1o for ; Mon, 3 Oct 2016 17:08:30 +0000 (UTC) Received: from mail-it0-f50.google.com (mail-it0-f50.google.com [209.85.214.50]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 4B6C95FB0B for ; Mon, 3 Oct 2016 17:08:30 +0000 (UTC) Received: by mail-it0-f50.google.com with SMTP id r192so121350413ita.0 for ; Mon, 03 Oct 2016 10:08:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=Ux5xL/9bd5/H9WL6E1af9cgcX9MYot0rzdKRR2Teahg=; b=y2ohpGgS62yON7FCd2HLmQmX+wEvNmE0mBCJionjmTiVtwYDtOcR0l0V+aYM34Xhiu yeu42lRMBxFIlI4dsaD8wJYZEdWHPZw0ETRHpnzaRZrSNKz8FrXdQ+5blscrKSrxYX52 +rTA5BFd52S1gl7ioDvpHozSu4hSLbGVZPDIIyaIJHHARwi3vuoZ788KXnVzbCwXH5/9 EmjP/bcxuOMhAL2TkUg2nNx+0pA0ODM9R6r/PWX2ZjXkmHPUqtV6oqxkxro1VfO4eI6G FSiryHdvLB4xqHKy1NLpjZP9gbHCyuL7ca9YGQdVwrVZ/jFbeEXkg6JEiAuhC5kx+3J9 xMRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Ux5xL/9bd5/H9WL6E1af9cgcX9MYot0rzdKRR2Teahg=; b=O+yjfZTJgySivgOpThvkPhomF/MPZSYS0ZBBkF8RK3jYGxlvakqTwGrio+l01JI00m CTcLgSEtkYl2qvrqQzu9sZKb5oNZ31NsLpXkqO2aevg7xoK3csJj7BDReg6AQuQdloKz rIn2MssRaszqIY+hpE7/ibBYy+m5zpxw5bwfIue9XAnb8BY+nA1iLJviM0qEkxaf0Cmn 3WT4pGFSveLaZ9xdI3yrqMFzL8qxkSjpTkpgj9uROmJ5c7Bb8Dba0mBiGPrAFRxB4NBZ A9QOobIg/sHMDNyOeGW0y8HOoY5moglr9nVOSfC79QefdZbKaIDF1u6gepwt1dWRk89R Lfpw== X-Gm-Message-State: AA6/9RlEw4Y9xVzyX3nR+2HnToIh1Fy6FQlXZmZYPEDdXpHWeXxFX1/S3fNNC299Fw+le01sE+vkw0X4bJWPkQ== X-Received: by 10.36.60.10 with SMTP id m10mr18883683ita.95.1475514509556; Mon, 03 Oct 2016 10:08:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.46.170 with HTTP; Mon, 3 Oct 2016 10:08:29 -0700 (PDT) From: David Daniel Date: Mon, 3 Oct 2016 13:08:29 -0400 Message-ID: Subject: setting the objectclassdefinition from felix file install To: users@felix.apache.org Content-Type: multipart/alternative; boundary=001a114aa5ac342013053df8fe3a archived-at: Mon, 03 Oct 2016 17:08:34 -0000 --001a114aa5ac342013053df8fe3a Content-Type: text/plain; charset=UTF-8 I have an object class definition @ObjectClassDefinition(name = "Marklogic Configuration", pid = "com.marklogic") @interface MarklogicConfig { String content_host() default "localhost"; String content_username() default "admin"; String content_pword() default "******"; String content_dbname() default "****"; } and a component @Component(service = {MarkLogicConnector.class}) @Designate(ocd = MarklogicConfig.class) public class MarkLogicConnector { I have the felix file install bundle installed and working. It seems like it is loading com.marklogic.cfg correctly. Is there a way to make sure that the file is loaded before the configuration is passed into the activate method. I seem to be getting the default values rather than the configured ones that came from fileinstall. --001a114aa5ac342013053df8fe3a--