java.lang.Object
io.helidon.integrations.micronaut.cdi.MicronautCdiExtension
All Implemented Interfaces:
Extension

@Deprecated(forRemoval=true, since="4.4.5") public class MicronautCdiExtension extends Object implements Extension
Deprecated, for removal: This API element is subject to removal in a future version.
use the Helidon Declarative programming model instead
Extension integrating CDI with Micronaut. This extensions adds Micronaut beans to be injectable into CDI beans (limited to Singleton scope), and adds support for invoking Micronaut interceptors.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.context.ApplicationContext
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the application context of Micronaut.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MicronautCdiExtension

      public MicronautCdiExtension()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • context

      public io.micronaut.context.ApplicationContext context()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the application context of Micronaut. This method can only be invoked once the server is started.
      Returns:
      Micronaut application context
      Throws:
      IllegalStateException - when invoked when server (and hence the context) is not started