[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Wildcards and JBossXb Builder

adrian@jboss.org do-not-reply at jboss.com
Wed Mar 5 08:49:57 EST 2008


"alesj" wrote : "kabir.khan at jboss.com" wrote : I think you can solve that by adding a package-info.java to your package similar to org.jboss.kernel.plugins.deployment.package-info.java
  | Sure, but I don't want to have duplicates.
  | It shouldn't work that way.

We should really be able to specify the adapter on the class being adapted
rather than having to repeat it on every top level package.

e.g.

  | @JBossXMLAdapter(ConstrollerStateXMLAdapter.class)
  | public class ControllerState {}
  | 

Raise it as a feature request in JBossXB

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

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



More information about the jboss-dev-forums mailing list