[jboss-dev-forums] [Design the new POJO MicroContainer] - Interacting with class properties rather than instances?

scott.stark@jboss.org do-not-reply at jboss.com
Wed Oct 11 12:06:25 EDT 2006


Do we have a notion of being able to configure class properties rather than instance properties? An example usage is to externalize the current org.jboss.virtual.plugins.context.jar.JarUtils jarSuffixes:


  |    <bean name="JARUtils" class="org.jboss.virtual.plugins.context.jar.JarUtils" static="true">
  |       <property name="jarSuffixes">
  |                      <set elementClass="java.lang.String">
  |                         <value>.zip</value>
  |                         <value>.ear</value>
  |                         <value>.jar</value>
  |                         <value>.rar</value>
  |                         <value>.war</value>
  |                         <value>.sar</value>
  |                         <value>.har</value>
  |                         <value>.aop</value>
  |                         <value>.deployer</value>
  |                      </set>
  |       </property>
  |    </bean>
  | 
  | 

This has actually been externalized by the JARStructure deployer, so this example can be handled there.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977606#3977606

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977606



More information about the jboss-dev-forums mailing list