-
1. Re: JBoss50DTDMetaData (standjboss.xml) attachment present?
aloubyansky May 18, 2010 11:41 AM (in response to wolfc)Not yet...
-
2. Re: JBoss50DTDMetaData (standjboss.xml) attachment present?
aloubyansky May 18, 2010 11:47 AM (in response to aloubyansky)1 of 1 people found this helpfulIt's added in JBossEjbParsingDeployer
if (this.isPreEJB3x(ejbJarMetaData, jbossMetaData))
{
JBossMetaData stdMetaData = getStandardMetaData();
if(stdMetaData != null)
unit.addAttachment("standardjboss.xml", stdMetaData);
}
and then StandardJBossMetaDataDeployer does the following
public void deploy(DeploymentUnit unit)
throws DeploymentException
{
// Get the jboss.xml attachment
JBossMetaData metaData = unit.getAttachment(JBossMetaData.class);
// Get the standardjboss.xml attachment
JBossMetaData stdMetaData = unit.getAttachment("standardjboss.xml", JBossMetaData.class);
if(metaData == null || stdMetaData == null)
return;JBossMetaDataWrapper wrapper = new JBossMetaDataWrapper(metaData, stdMetaData);
// Set the wrapper as the output
unit.getTransientManagedObjects().addAttachment(JBossMetaData.class, wrapper);
// Keep the raw parsed metadata as well
unit.addAttachment(RAW_ATTACHMENT_NAME, metaData, JBossMetaData.class);
} -
3. Re: JBoss50DTDMetaData (standjboss.xml) attachment present?
wolfc May 18, 2010 1:04 PM (in response to aloubyansky)