[jboss-as7-dev] Porting OSGi Subsystem to Detyped Model

Darran Lofthouse darran.lofthouse at jboss.com
Tue Feb 1 09:10:45 EST 2011


I am currently porting the OSGi subsystem to the detyped API, the xsd 
for the OSGi subsystem allows quite a bit of flexibility so I thought I 
would quickly show the resulting add operation from parsing the current 
standalone.xml configuration to check if there are any further comments.

Regards,
Darran Lofthouse.


{
     "operation" => "add",
     "address" => [("subsystem" => "osgi")],
     "activation" => "lazy",
     "configuration" => {
         "pid" => 
"org.apache.felix.webconsole.internal.servlet.OsgiManager",
         "configuration_properties" => {"manager.root" => "jboss-osgi"}
     },
     "properties" => {
         "org.jboss.osgi.system.modules" => "org.apache.log4j,
                 org.jboss.arquillian.api,
                 org.jboss.arquillian.junit,
                 org.jboss.arquillian.protocol.osgi,
                 org.jboss.arquillian.spi,
                 org.jboss.as.osgi,
                 org.jboss.shrinkwrap.api,
                 javax.inject.api,
                 junit.junit",
         "org.osgi.framework.system.packages.extra" => 
"javax.transaction;version=1.1,
                 org.apache.log4j;version=1.2,
                 org.jboss.as.osgi.service;version=7.0,
                 org.jboss.logging;version=3.0,
                 org.jboss.osgi.deployment.deployer;version=1.0,
                 org.jboss.osgi.deployment.interceptor;version=1.0,
                 org.jboss.osgi.spi;version=1.0,
                 org.jboss.osgi.spi.capability;version=1.0,
                 org.jboss.osgi.spi.util;version=1.0,
                 org.jboss.osgi.testing;version=1.0,
                 org.jboss.osgi.vfs;version=1.0,

                 org.jboss.arquillian.api, org.jboss.arquillian.junit, 
org.jboss.arquillian.osgi,
                 org.jboss.shrinkwrap.api, 
org.jboss.shrinkwrap.api.asset, org.jboss.shrinkwrap.api.spec,
                 org.jboss.shrinkwrap.impl.base,
                 org.junit, org.junit.runner, javax.inject"
     },
     "modules" => {
         "org.osgi.compendium" => {"start" => false},
         "org.apache.aries.util" => {"start" => false},
         "org.jboss.as.osgi.configadmin" => {"start" => true},
         "org.apache.felix.configadmin" => {"start" => true},
         "org.jboss.osgi.common" => {"start" => true},
         "org.apache.aries.jmx" => {"start" => true},
         "org.jboss.osgi.jmx" => {"start" => true}
     }
}



More information about the jboss-as7-dev mailing list