Class JohnzonCdiExtension

  • All Implemented Interfaces:
    jakarta.enterprise.inject.spi.Extension

    public class JohnzonCdiExtension
    extends java.lang.Object
    implements jakarta.enterprise.inject.spi.Extension
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean canWrite  
      private java.util.Collection<JohnzonJsonb> jsonbs  
      private java.util.concurrent.locks.ReentrantLock lock  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void cleanUp​(jakarta.enterprise.inject.spi.BeforeShutdown beforeShutdown)  
      boolean isCanWrite()  
      (package private) void started​(jakarta.enterprise.inject.spi.BeforeBeanDiscovery beforeBeanDiscovery)  
      void track​(JohnzonJsonb jsonb)  
      void untrack​(JohnzonJsonb jsonb)  
      • Methods inherited from class java.lang.Object

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

      • jsonbs

        private final java.util.Collection<JohnzonJsonb> jsonbs
      • lock

        private final java.util.concurrent.locks.ReentrantLock lock
      • canWrite

        private volatile boolean canWrite
    • Constructor Detail

      • JohnzonCdiExtension

        public JohnzonCdiExtension()
    • Method Detail

      • isCanWrite

        public boolean isCanWrite()
      • started

        void started​(@Observes
                     jakarta.enterprise.inject.spi.BeforeBeanDiscovery beforeBeanDiscovery)
      • cleanUp

        void cleanUp​(@Observes
                     jakarta.enterprise.inject.spi.BeforeShutdown beforeShutdown)