[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: serializable KernelDeployment

adrian@jboss.org do-not-reply at jboss.com
Tue Jan 23 04:51:52 EST 2007


The property replacement during the parsing is coming from JBossXB.

This is redundant since the microcontainer does do property replacement during
the setter, see ValueConvertor.convertValue() invoked indirectly from the
StringValueMetaData.

To turn off the JBossXB processing we need to change the schema bindings:
e.g. in BeanSchemaBinding20

   public static void init(SchemaBinding schemaBinding)
   {
+      schemaBinding.setReplacePropertyRefs(false);
      initDeployment(schemaBinding);
      initBean(schemaBinding);
      initBeanFactory(schemaBinding);
      initArtifacts(schemaBinding);
   }


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

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



More information about the jboss-dev-forums mailing list