コード例 #1
0
 public void addScope(@Observes final BeforeBeanDiscovery event) {
   event.addScope(ViewScoped.class, true, true);
 }
コード例 #2
0
 public void beforBeanDiscovery(@Observes BeforeBeanDiscovery event, BeanManager manager) {
   event.addScope(SOAPScoped.class, true, false);
 }