Module io.helidon.microprofile.cdi
Package io.helidon.microprofile.cdi
Class HelidonContainerInitializer
java.lang.Object
jakarta.enterprise.inject.se.SeContainerInitializer
io.helidon.microprofile.cdi.HelidonContainerInitializer
This class ensures that container is created by us.
-
Constructor Summary
ConstructorDescriptionThis constructor ensures that we are not created through standard CDI means. -
Method Summary
Modifier and TypeMethodDescriptionaddBeanClasses
(Class<?>... classes) addExtensions
(Extension... extensions) addExtensions
(Class<? extends Extension>... extensions) addPackages
(boolean scanRecursively, Class<?>... packageClasses) addPackages
(boolean scanRecursively, Package... packages) addPackages
(Class<?>... packageClasses) addPackages
(Package... packages) addProperty
(String key, Object value) enableDecorators
(Class<?>... decoratorClasses) enableInterceptors
(Class<?>... interceptorClasses) selectAlternatives
(Class<?>... alternativeClasses) selectAlternativeStereotypes
(Class<? extends Annotation>... alternativeStereotypeClasses) setClassLoader
(ClassLoader classLoader) setProperties
(Map<String, Object> properties) Methods inherited from class jakarta.enterprise.inject.se.SeContainerInitializer
newInstance
-
Constructor Details
-
HelidonContainerInitializer
public HelidonContainerInitializer()This constructor ensures that we are not created through standard CDI means.- Throws:
IllegalStateException
- unless explicitly configured not to do so.
-
-
Method Details
-
addBeanClasses
- Specified by:
addBeanClasses
in classSeContainerInitializer
-
addPackages
- Specified by:
addPackages
in classSeContainerInitializer
-
addPackages
- Specified by:
addPackages
in classSeContainerInitializer
-
addPackages
- Specified by:
addPackages
in classSeContainerInitializer
-
addPackages
- Specified by:
addPackages
in classSeContainerInitializer
-
addExtensions
- Specified by:
addExtensions
in classSeContainerInitializer
-
addExtensions
- Specified by:
addExtensions
in classSeContainerInitializer
-
enableInterceptors
- Specified by:
enableInterceptors
in classSeContainerInitializer
-
enableDecorators
- Specified by:
enableDecorators
in classSeContainerInitializer
-
selectAlternatives
- Specified by:
selectAlternatives
in classSeContainerInitializer
-
selectAlternativeStereotypes
public SeContainerInitializer selectAlternativeStereotypes(Class<? extends Annotation>... alternativeStereotypeClasses) - Specified by:
selectAlternativeStereotypes
in classSeContainerInitializer
-
addProperty
- Specified by:
addProperty
in classSeContainerInitializer
-
setProperties
- Specified by:
setProperties
in classSeContainerInitializer
-
disableDiscovery
- Specified by:
disableDiscovery
in classSeContainerInitializer
-
setClassLoader
- Specified by:
setClassLoader
in classSeContainerInitializer
-
initialize
- Specified by:
initialize
in classSeContainerInitializer
-