karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: howto get all placeholder properties in blueprint
Date Thu, 11 Feb 2016 09:13:14 GMT
Hi,

You can use a ManagedService that react when the file (so the config) is 
changed, getting the raw content of the file using the 
felix.fileinstall.file property (containing the path).

Regards
JB

On 02/11/2016 09:45 AM, sekaijin wrote:
> Hi,
> 1) I am looking for how to retrieve all properties defined in a property
> file.
> 2) I also need to dynamically update this set of properties when the file is
> modified.
> For the first problem, I can read the property file in my code. But I do not
> detect when to file changed.
> for the second, I can use a placeholder. configAdmin update my bundle with
> each change of the file. But I do not know how to retrieve all the file
> properties.
>
> When the file is modified
> I want this method to be called.
>
>
> A+JYT
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/howto-get-all-placeholder-properties-in-blueprint-tp4045250p4045257.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message