[seam-dev] Need to write a @Requires with a qualifed bean as param

Stuart Douglas stuart.w.douglas at gmail.com
Sat Jun 25 03:40:10 EDT 2011


On 25/06/2011, at 5:30 PM, Antoine Sabot-Durand wrote:

> Hi,
> 
> I need to write an extension that vetoes a bean if another bean with a given qualifier is not present. Is it possible ? Do you have leads, advice ?


You need to veto it every time, and if the bean is present re-install it using AfterBeanDiscovery.addBean

Stuart

> 
> Thanks
> 
> Antoine SABOT-DURAND
> 
> _______________________________________________
> seam-dev mailing list
> seam-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev




More information about the seam-dev mailing list