Thanks Grzegorz Grzybek !!.
It solves the problem.
It was so simple !!!
Regards,
Ashish Gupta
--
View this message in context:
http://karaf.922171.n3.nabble.com/How-to-inject-java-util-Properties-in-Bean-tp4050428p4050432.html
Sent from the Karaf - Dev mailing list archive at Nabble.com
Hello
You can always do something like this:
public class PropertiesFactory {
public static Properties createProperties(String filename) {
Properties result = new Properties();
result.load(...);
return result;
}
}
regards
Grzegorz Grzybek
2017-05-24 9:23
Hello,
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 solv