0 Replies Latest reply on Jul 24, 2006 9:52 PM by Scott Stark

    Mapping legacy properties onto JavaBean properties

    Scott Stark Master

      For a number of objects we have legacy java.util.Properties based configurations or system properties that map onto JavaBean properties of MC compatible configuration objects.

      <deployment xmlns="urn:jboss:bean-deployer:2.0">
       <bean name="SystemProperties" class="org.jboss.SystemPropertiesBean"/>
      
       <bean name="Config1" class="org.jboss.SomeConfig">
       <property name="prop1"><inject bean="SystemProperties" property="org.jboss.some.prop1"/></property>
       </bean>
      </deployment>
      


      More automated configuration mappings via the ProfileService and other server aspects could bring this mapping in at another level.