Class WeldProvider

  • All Implemented Interfaces:
    javax.enterprise.inject.spi.CDIProvider, javax.enterprise.inject.spi.Prioritized

    public class WeldProvider
    extends Object
    implements javax.enterprise.inject.spi.CDIProvider
    The Weld CDI provider.
    Author:
    Manfred Riem (mriem@manorrock.com)
    • Constructor Detail

      • WeldProvider

        public WeldProvider()
    • Method Detail

      • getCDI

        public javax.enterprise.inject.spi.CDI<Object> getCDI()
        Get the CDI.
        Specified by:
        getCDI in interface javax.enterprise.inject.spi.CDIProvider
        Returns:
        the CDI.
      • setCDI

        public static void setCDI​(javax.enterprise.inject.spi.CDI<Object> cdi)
        Set the CDI.
        Parameters:
        cdi - the CDI.