Reply To: Rewrite on Tomcat 8 and CDI Weld Why not working?

Splash Forums Rewrite Users Rewrite on Tomcat 8 and CDI Weld Why not working? Reply To: Rewrite on Tomcat 8 and CDI Weld Why not working?

#26353

salviof
Participant

Now I try create this class: com.mycompany.testwebapp.BM_RW_SBWebPaginas

and set a reference to that in service provider:
nothing Happenns ..

import org.ocpsoft.rewrite.cdi.spi.BeanManagerProvider;
public class BM_RW_SBWebPaginas implements BeanManagerProvider{

@Override
public BeanManager getBeanManager() {

return CDI.current().getBeanManager();
}

@Override
public int priority() {
return 1;
}

}