Class WeldCDI

  • All Implemented Interfaces:
    Iterable<Object>, javax.enterprise.inject.Instance<Object>, javax.inject.Provider<Object>, org.jboss.weld.inject.WeldInstance<Object>

    public class WeldCDI
    extends org.jboss.weld.AbstractCDI<Object>
    The CDI for Weld.
    Author:
    Manfred Riem (mriem@manorrock.com)
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.jboss.weld.inject.WeldInstance

        org.jboss.weld.inject.WeldInstance.Handler<T extends Object>
    • Field Summary

      • Fields inherited from class org.jboss.weld.AbstractCDI

        knownClassNames
      • Fields inherited from class javax.enterprise.inject.spi.CDI

        configuredProvider, discoveredProviders
    • Constructor Summary

      Constructors 
      Constructor Description
      WeldCDI()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.enterprise.inject.spi.BeanManager getBeanManager()
      Get the bean manager.
      void setWeldManager​(org.jboss.weld.manager.api.WeldManager manager)
      Set the WeldManager.
      • Methods inherited from class org.jboss.weld.AbstractCDI

        checkState, destroy, get, getCallingClassName, getHandler, getInstance, getPriorityComparator, handlers, isAmbiguous, isResolvable, isUnsatisfied, iterator, select, select, select, select
      • Methods inherited from class javax.enterprise.inject.spi.CDI

        current, setCDIProvider
      • Methods inherited from interface javax.enterprise.inject.Instance

        stream
      • Methods inherited from interface org.jboss.weld.inject.WeldInstance

        handlersStream
    • Constructor Detail

      • WeldCDI

        public WeldCDI()
        Constructor.
    • Method Detail

      • getBeanManager

        public javax.enterprise.inject.spi.BeanManager getBeanManager()
        Get the bean manager.
        Specified by:
        getBeanManager in class javax.enterprise.inject.spi.CDI<Object>
        Returns:
        the bean manager.
      • setWeldManager

        public void setWeldManager​(org.jboss.weld.manager.api.WeldManager manager)
        Set the WeldManager.
        Parameters:
        manager - the WeldManager.