Class BeansLocal


  • @Typed
    public final class BeansLocal
    extends Object

    Collection of utility methods for the CDI API that are mainly shortcuts for obtaining stuff from the BeanManager.

    The difference with Beans is that no one method of BeansLocal obtains the BeanManager from JNDI. This job is up to the caller. This is more efficient in situations where multiple utility methods needs to be called at the same time.

    Since:
    2.0
    Author:
    Bauke Scholtz
    See Also:
    Beans