XBean > Home > Developers > Ideas

Regular ClassPath creation

<classPath>
  <jar uri="http:///acme.org/cheese.jar"/>
   ...
</classPath>

Maven ClassPath creation

I'd be good to have a ClassPath implementation like this...

<mavenClassPath project="activemq" version="4.0-M1"/>

We could go a step ahead and load Spring.xml files...

<mavenClassPath project="activemq" version="4.0-M1">
<include uri="mySpring.xml"/>
<include uri="http://openejb.org/start.xml"/>
</mavenClassPath>

Command line version

xbean --version=4.0-M1 activemq mySpring.xml

Classpath in a Spring.xml

<beans classpath="uri">
...
</beans>

Possible values of URI

Maps and Properties

<map x="123" y="345" z="2341"/>

Property tags should be optional if possible (use annotation to force)

<pizza>
  <topping> 
    <edam>
<pizza>
  <edam >