[jboss-user] [Microcontainer] - Re: Lots of little XML files?

alesj do-not-reply at jboss.com
Sat Nov 22 03:26:04 EST 2008


"david.lloyd at jboss.com" wrote : OK, so the rule is that SchemaResolverDeployers must, must, MUST produce metadata that implements BMDF.
No. ;-)

The MD that maps to deployment's element must, must, MUST  produce metadata that implements BMDF.
e.g.

  | <deployment xmlns="urn:jboss:bean-deployer:2.0">
  |    <my-custom-element ...> // <-- HERE
  |       ...
  |    </my-custom-element>
  | </deployment>
  | 

SRD can produce whatever.
Since it doesn't mean all SRD's MD is gonna be (directly) used with MC.

e.g. you can have a deployer in the middle that does custom transformation: SRD --> custom X MD --> X to BMD(F) --> MC
e.g.2 simply use custom MD for some non MC/BMD operation / info
My scanning MD:
 - http://anonsvn.jboss.org/repos/jbossas/projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/annotations/ScanningMetaDataDeployer.java
 - http://anonsvn.jboss.org/repos/jbossas/projects/jboss-deployers/trunk/deployers-impl/src/main/java/org/jboss/deployers/plugins/annotations/AbstractScanningMetaData.java

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

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



More information about the jboss-user mailing list