[jboss-dev-forums] [Design of POJO Server] - Customizing attachment name in parsing deployers

anil.saldhana@jboss.com do-not-reply at jboss.com
Wed Mar 18 14:30:07 EDT 2009


Is there any way by which the parsing deployers store metadata attachments in the deployment unit keyed in by a custom attachment name rather than the deployment type?

Use case: There are 2 or more parsing deployers generating JAXB metadata with JAXBElement as the deployment type.

Currently the way to do is to extend the base parsing deployers "createMetaData" method and use the custom attachment name rather than the "getOutput().getName()" call used in the base parsing deployers.

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

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



More information about the jboss-dev-forums mailing list