[jboss-as7-dev] Consolidation of properties

Kabir Khan kabir.khan at jboss.com
Wed May 18 07:07:44 EDT 2011


Looking at standalone.xml we have 

    <system-properties>
        <property name="foo" value="bar"/>
        <property name="key" value="value"/>
    </system-properties>

Then OSGi uses another format with the value in the element text:

       <subsystem xmlns="urn:jboss:domain:osgi:1.0" activation="lazy">
            <configuration pid="org.apache.felix.webconsole.internal.servlet.OsgiManager">
                <property name="manager.root">jboss-osgi</property>
            </configuration>
            <properties>
                <property name="org.jboss.osgi.system.modules">
                org.apache.log4j,
                org.jboss.as.osgi,
                </property>
                <property name="org.osgi.framework.system.packages.extra">
                org.apache.log4j;version=1.2,
                org.jboss.as.osgi.service;version=7.0,
                org.jboss.osgi.spi.capability;version=1.0,
                org.jboss.osgi.spi.util;version=1.0,
                org.jboss.osgi.testing;version=1.0,
                </property>
            </properties>

Security is trying to do this:
> <security-properties>a=b,c=d</security-properties>

Then there are several xsd's in the AS7 codebase that take properties whose formats I haven't checked. Is it worth consolidating all these into one xml format? 


More information about the jboss-as7-dev mailing list