Class CoherenceContext


  • @Context
    @Singleton
    public class CoherenceContext
    extends java.lang.Object
    A utility class to capture the ApplicationContext so that it is available to Coherence classes that are not managed by Micronaut.
    Since:
    1.0
    Author:
    Jonathan Knight
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static io.micronaut.context.ApplicationContext getApplicationContext()
      Returns the ApplicationContext.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getApplicationContext

        public static io.micronaut.context.ApplicationContext getApplicationContext()
        Returns the ApplicationContext.
        Returns:
        the ApplicationContext