To do this I think there would have to be some type of namespace registry service, and that's probably a good thing to add.
I was thinking more along the lines of mixing binding instruction with the document. for example, consider the following custom ejb container configuration which introduces two custom interceptors each with their own non-trivial configuration: | <?xml version="1.0" encoding="UTF-8"?> | <jboss:jboss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xmlns:jboss="http://www.jboss.org/j2ee/schema/jboss" | xmlns:jbossxb="http://www.jboss.org/j2ee/schema/jbossxb" | xmlns:acme="http://acme.com/schema/jboss" | xmlns:gizmo="http://gizmo/schema/jboss" | > | <!-- Tell JBossXB about the namespace to factory mappings in this doc --> | <jbossxb:object-factory namespace="http://acme.com/schema/jboss" factory="com.amce.Factory" /> | <jbossxb:object-factory namespace="http://gizmo/schema/jboss" factory="com.gizmo.Factory" /> | | <container-configurations> | <container-configuration> | <container-name>Test Container</container-name> | <container-interceptors> | <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor> | <interceptor> | <acme:interceptor code="com.acme.ejb.interceptors.CustomInterceptor"> | <acme:inteceptor-config> | ... | </acme:inteceptor-config> | </acme:interceptor> | </interceptor> | <interceptor> | <gizmo:interceptor code="com.gizmo.ejb.interceptors.CustomInterceptor"> | <gizmo:inteceptor-config> | ... | </gizmo:inteceptor-config> | </gizmo:interceptor> | </interceptor> | ... | </container-interceptors> | | </container-configuration> | | </container-configurations> | </jboss:jboss> | | This will allow use to put a bullet in the evil XmlLoadable interface once and for all. Would something like this be usable in the webservices layer as part of our jaxb customization as well? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859843#3859843 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859843 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
