Package org.zkoss.zkplus.cdi
Class CDIUtil
- java.lang.Object
-
- org.zkoss.zkplus.cdi.CDIUtil
-
public class CDIUtil extends java.lang.ObjectSome generic utility for use with CDI.Applicable to CDI version 1.1 or later
To specify a different JNDI name for the bean manager, please specify them in zk.xml as follows. (By default is CDI.current().getBeanManager()) since 10.2.0.
<library-property> <name>org.zkoss.zkplus.cdi.beanManager.jndiName</name> <value>java:comp/env/BeanManager</value> </library-property>- Author:
- henrichen
-
-
Constructor Summary
Constructors Constructor Description CDIUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static jakarta.enterprise.inject.spi.BeanManagergetBeanManager()Returns the CDI BeanManager.
-