Class CdiConfiguration

    • Method Detail

      • setFallbackBeanManager

        public CdiConfiguration setFallbackBeanManager​(javax.enterprise.inject.spi.BeanManager fallbackBeanManager)
        Sets a BeanManager that should be used if all strategies to lookup a BeanManager fail. This can be used in scenarios where you do not have JNDI available and do not want to bootstrap the CDI provider. It should be noted that the fallback BeanManager can only be used within the context of a Wicket application (ie. Application.get() should return the application that was configured with this CdiConfiguration).
        Parameters:
        fallbackBeanManager -
        Returns:
        this instance
      • configure

        public void configure​(Application application)
        Configures the specified application
        Parameters:
        application -