@Configuration @ConditionalOnClass(value=javax.enterprise.context.RequestScoped.class) @ConditionalOnWebApplication(type=SERVLET) public class CdiScopeAnnotationsAutoConfiguration extends Object
Auto configuration
for javax.enterprise.context.*Scoped
annotations support.Constructor and Description |
---|
CdiScopeAnnotationsAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
static CustomScopeAnnotationConfigurer |
cdiScopeAnnotationsConfigurer(org.springframework.core.env.Environment environment) |
public CdiScopeAnnotationsAutoConfiguration()
@Bean @ConditionalOnProperty(value="jsf.scope-configurer.cdi.enabled", havingValue="true", matchIfMissing=true) public static CustomScopeAnnotationConfigurer cdiScopeAnnotationsConfigurer(org.springframework.core.env.Environment environment)
Copyright © 2016–2018 JoinFaces. All rights reserved.