[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer
alesj
do-not-reply at jboss.com
Wed Mar 26 17:09:13 EDT 2008
"david.lloyd at jboss.com" wrote :
| It accepts the new property but it doesn't seem to notice the jboss-remoting.xml file which is in the same place as the jboss-beans.xml that contains the above.
Sure. As expected. ;-)
When this bean is installed, we're passed PARSE stage.
Which is where this new deployer will kick in, for the next deployments.
Try deploying jboss-remoting.xml separately, after you've deployed this jboss-beans.xml.
btw: you could write this xml config with the new stuff :-)
| <jbossxb-parser xmlns="urn:jboss:deployers:2.0"
| name="RemotingMetaDataParser"
| metadata="org.jboss.cx.remoting.metadata.RemotingMetaData"
| name="jboss-remoting.xml"
| register-with-jbossxb="true"
| />
|
just add this before
| <bean name="SchemaResolverConfig" class="org.jboss.xb.binding.sunday.unmarshalling.SchemaResolverConfig">
| <property name="bindingClasses">
| <map keyClass="java.lang.String" valueClass="java.lang.String">
| <entry>
| <key>urn:jboss:deployers:2.0</key>
| <value>org.jboss.deployers.vfs.plugins.xb.SchemaResolverDeployerMetaData</value>
| </entry>
| </map>
| </property>
| </bean>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139100#4139100
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139100
More information about the jboss-user
mailing list