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.0 or later
To specify a different JNDI name for the bean manager, please specify them
in zk.xml as follows. (By default is java:comp/env/BeanManager) since
5.0.11.
org.zkoss.zkplus.cdi.beanManager.jndiName
java:comp/env/BeanManager
- Author:
- henrichen
Method Summary |
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 |
CDIUtil
public CDIUtil()
getBeanManager
public static javax.enterprise.inject.spi.BeanManager getBeanManager()
- Returns the CDI BeanManager.
Default implementation use JNDI to lookup "java:comp/env/BeanManager".
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.