felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frizz <frizzthe...@googlemail.com>
Subject Set System Property With Blueprint Configuration File
Date Tue, 16 Feb 2016 18:17:35 GMT
I am trying to set a System Property in my Blueprint Configuration File,
similar to the Spring approach that is described here:
http://stackoverflow.com/questions/3339736/set-system-property-with-spring-configuration-file

My code looks like this:

<bean id="mySysProp"
class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
   <property name = "targetObject" value="#{@systemProperties}" />
   <property name = "targetMethod" value="putAll" />
   <property name = "arguments" />
       <list>
           <value>org.blabla.packages</value>
           <value>*</value>
       <list>
   </property>
</bean>

It doesn't throw an exception or something - but it's not setting the
system property either. What might be the problem?

I am using Apache Karaf 4.0.x (which uses Apache Aries Blueprint).

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message