Class CdiScopeAnnotationsAutoConfiguration

java.lang.Object
org.joinfaces.autoconfigure.scopemapping.CdiScopeAnnotationsAutoConfiguration

@AutoConfiguration @ConditionalOnClass(jakarta.enterprise.context.RequestScoped.class) @ConditionalOnWebApplication(type=SERVLET) public class CdiScopeAnnotationsAutoConfiguration extends Object
Auto configuration for javax.enterprise.context.*Scoped annotations support.
  • Constructor Details

    • CdiScopeAnnotationsAutoConfiguration

      public CdiScopeAnnotationsAutoConfiguration()
  • Method Details

    • cdiScopeAnnotationsConfigurer

      @Bean @ConditionalOnProperty(value="joinfaces.scope-configurer.cdi.enabled", havingValue="true", matchIfMissing=true) public static CustomScopeAnnotationConfigurer cdiScopeAnnotationsConfigurer(org.springframework.core.env.Environment environment)