Skip to content

Instantly share code, notes, and snippets.

@os890 os890/
Last active Dec 16, 2015

What would you like to do?
veto beans for weld
public class WeldFilter implements Extension
public void vetoForWeld(@Observes ProcessAnnotatedType processAnnotatedType, BeanManager beanManager)
if (!beanManager.getClass().getName().contains("org.apache."))
//activate WeldFilter to replace weld with owb. only owb will use your beans.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.