Package org.jboss.weld.bootstrap
Interface SyntheticExtension
- All Superinterfaces:
jakarta.enterprise.inject.spi.Extension
public interface SyntheticExtension
extends jakarta.enterprise.inject.spi.Extension
A synthetic extension. This extension is not registered as a bean, Weld only registers the synthetic container lifecycle
observer methods.
- Author:
- Martin Kouba
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidinitialize(jakarta.enterprise.inject.spi.BeanManager beanManager) Allows to initialize the synthetic observers before put into service.
-
Method Details
-
getObservers
Collection<ContainerLifecycleEventObserverMethod<?>> getObservers()- Returns:
- a collection of synthetic container lifecycle observer methods
-
initialize
default void initialize(jakarta.enterprise.inject.spi.BeanManager beanManager) Allows to initialize the synthetic observers before put into service.- Parameters:
beanManager-
-