Package org.zkoss.zkplus.cdi

## Class CDIUtil

- java.lang.Object
- - org.zkoss.zkplus.cdi.CDIUtil

-     public class CDIUtil
      extends java.lang.Object

  Some 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 javax.enterprise.inject.spi.BeanManager` | `getBeanManager()` | Returns the CDI BeanManager.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CDIUtil

          public CDIUtil()

  - ### Method Detail

    - #### getBeanManager

          public static javax.enterprise.inject.spi.BeanManager getBeanManager()

      Returns the CDI BeanManager.