You're doing it wrong. :-)
The types shouldn't even be on the deployment (I agreed this with Scott before)
but it obviously hasn't been removed from the api yet. :-)
The types should be part of the ManagedObject stuff for the profile service
such that the console can sort the deployments into categories.
Instead, you should add a marker into the attachments of the deployment.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102881#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...