This content has been marked as final.
Show 1 reply
-
1. Re: get instance of IOCBeanDef
jam94 Jun 27, 2018 6:08 AM (in response to jam94)public MyManagedBean {
@Inject SyncBeanManager manager;
public void lookupBean() {
SyncBeanDef<SimpleBean> bean = manager.lookupBean(SimpleBean.class);
if (bean != null) {
// get the instance of the bean
SimpleBean inst = bean.getInstance();
}
}
}