karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ashgonline <ashgonl...@gmail.com>
Subject How to inject java.util.Properties in Bean
Date Wed, 24 May 2017 07:23:30 GMT
I am new to the blueprint.
I have one requirement where one of the bean object will take a java
property bundle as its arguement (constructor).
Not sure the syntax of the same in the buleprint.xml.
I can understand that there is a way to define the porperty placeholder,but
that does not solve the problem as it allows to fetch individual propeties
in a config file.However the requyirement to load the bundle from  a file
path and inject the same to the bean in its constructor.

View this message in context: http://karaf.922171.n3.nabble.com/How-to-inject-java-util-Properties-in-Bean-tp4050428.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

View raw message