Class CreationalContextReleaseListener

  • All Implemented Interfaces:
    CommandContextListener

    public class CreationalContextReleaseListener
    extends java.lang.Object
    implements CommandContextListener
    CommandContextCloseListener which releases a CDI Creational Context when the command context is closed. This is necessary to ensure that Dependent scoped beans are properly destroyed.
    Author:
    Daniel Meyer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected javax.enterprise.context.spi.CreationalContext<?> context  
      protected static java.util.logging.Logger LOG  
    • Field Detail

      • LOG

        protected static final java.util.logging.Logger LOG
      • context

        protected javax.enterprise.context.spi.CreationalContext<?> context
    • Constructor Detail

      • CreationalContextReleaseListener

        public CreationalContextReleaseListener​(javax.enterprise.context.spi.CreationalContext<?> ctx)