Package org.joinfaces.autoconfigure.weld
Class WeldSpringBootAutoConfiguration
java.lang.Object
org.joinfaces.autoconfigure.weld.WeldSpringBootAutoConfiguration
- All Implemented Interfaces:
CdiImplementationAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(org.jboss.weld.environment.servlet.EnhancedListener.class)
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnMissingBean(CdiImplementationAutoConfiguration.class)
public class WeldSpringBootAutoConfiguration
extends Object
implements CdiImplementationAutoConfiguration
This class initialize weld in order to have a full cdi environment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
WeldSpringBootAutoConfiguration
public WeldSpringBootAutoConfiguration()
-
-
Method Details
-
weldServletContainerInitializer
@Bean public ServletContainerInitializerRegistrationBean<EnhancedListener> weldServletContainerInitializer()
-