"bill.burke(a)jboss.com" wrote :
| It feels almost a little hacky, why? The JaccInitializationDeployer takes a set a set
of attachment names. If the deploymentContext contains that transient attachment, then it
will add PolicyConfiguration. The idea being that you can trigger JACC based on whether
or not a given DU is a certain type of deployment (is it an EAR WAR or EJB JAR?)
Why is that hacky? That is whole point of aspectized deployers.
You can create the deployment aspect for all deployment types
(based on whether the metadata exists).
Whether it actually makes sense in all cases is a different issue, :-)
See my critique of "orthogonality" in the overview post at the top
of the forum.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978142#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...