]
Dan Allen commented on SOLDER-45:
---------------------------------
Having a utility for referencing a parent package would be nice to have and could be a
byproduct of implementing this feature.
Package Reflections#getParentPackage(Package);
Support @Veto at package level
------------------------------
Key: SOLDER-45
URL:
https://jira.jboss.org/browse/SOLDER-45
Project: Seam Solder
Issue Type: Feature Request
Components: Core
Reporter: Dan Allen
Fix For: 1.0.0.Beta2
It would be useful to be able to veto an entire package of beans. The most typical use
case is when you want to veto the JPA entities, which typically reside in the same
package. It may be reasonable to add a recursive flag to veto all nested packages as
well.
Veto single package
@org.jboss.seam.solder.Veto
package com.acme.model;
Veto package and descendants
@org.jboss.seam.solder.Veto(recurse = true)
package com.acme.model;
If the recurse feature slows things down to much, we can forgo implementing it.
Obviously recurse would be meaningless when @Veto is applied to a type, perhaps even
considered a deployment error if set to true in that case.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: