[jbossws-dev] metadata not attached to DeploymentUnit

Thomas Diesler thomas.diesler at jboss.com
Fri Oct 12 08:41:45 EDT 2007


Hi Scott,

we used to be able to detect a webapp deployment like this. Later, we
inspect the meta data for WS relevant servlet classes.

After the recent change to the new metadata model, the attachment is
missing. Is this work in progress (i.e. will the attachment be there
again) or should we do things differently?

   public boolean isWebServiceDeployment(DeploymentUnit unit)
   {
      if (unit.getAttachment(JBossWebMetaData.class) == null)
         return false;

      return true;
   }

cheers
-thomas

-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
Web Service Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx






More information about the jbossws-dev mailing list