Weld |
Weld.addAlternative(Class<?> alternativeClass) |
Add an alternative class to the list of selected alternatives for a synthetic bean archive.
|
Weld |
Weld.addAlternativeStereotype(Class<? extends Annotation> alternativeStereotypeClass) |
Add an alternative stereotype class to the list of selected alternative stereotypes for a synthetic bean archive.
|
Weld |
Weld.addBeanClass(Class<?> beanClass) |
Add a bean class to the set of bean classes for the synthetic bean archive.
|
Weld |
Weld.addBeanClasses(Class<?>... classes) |
|
Weld |
Weld.addBeanDefiningAnnotations(Class<? extends Annotation>... annotations) |
Registers annotations which will be considered as bean defining annotations.
|
Weld |
Weld.addContainerLifecycleObserver(ContainerLifecycleObserver<?> observer) |
Add a synthetic container lifecycle event observer.
|
Weld |
Weld.addDecorator(Class<?> decoratorClass) |
Add a decorator class to the list of enabled decorators for the synthetic bean archive.
|
Weld |
Weld.addExtension(jakarta.enterprise.inject.spi.Extension extension) |
Add an extension to the set of extensions.
|
Weld |
Weld.addExtensions(jakarta.enterprise.inject.spi.Extension... extensions) |
|
Weld |
Weld.addExtensions(Class<? extends jakarta.enterprise.inject.spi.Extension>... extensionClasses) |
|
Weld |
Weld.addInterceptor(Class<?> interceptorClass) |
Add an interceptor class to the list of enabled interceptors for the synthetic bean archive.
|
Weld |
Weld.addPackage(boolean scanRecursively,
Class<?> packageClass) |
A package of the specified class will be scanned and found classes will be added to the set of bean classes for the synthetic bean archive.
|
Weld |
Weld.addPackages(boolean scanRecursively,
Class<?>... packageClasses) |
Packages of the specified classes will be scanned and found classes will be added to the set of bean classes for the synthetic bean archive.
|
Weld |
Weld.addPackages(boolean scanRecursively,
Package... packages) |
|
Weld |
Weld.addPackages(Class<?>... packageClasses) |
|
Weld |
Weld.addPackages(Package... packages) |
|
Weld |
Weld.addProperty(String key,
Object value) |
|
Weld |
Weld.addServices(org.jboss.weld.bootstrap.api.Service... services) |
Register per-deployment services which are shared across the entire application.
|
Weld |
Weld.alternatives(Class<?>... alternativeClasses) |
Select alternatives for the synthetic bean archive, all previous values are removed.
|
Weld |
Weld.alternativeStereotypes(Class<? extends Annotation>... alternativeStereotypeClasses) |
Select alternative stereotypes for the synthetic bean archive, all previous values are removed.
|
Weld |
Weld.beanClasses(Class<?>... classes) |
Define the set of bean classes for the synthetic bean archive.
|
Weld |
Weld.containerId(String containerId) |
Containers must have a unique identifier assigned when running multiple Weld instances at the same time.
|
Weld |
Weld.decorators(Class<?>... decoratorClasses) |
Enable decorators for the synthetic bean archive, all previous values are removed.
|
Weld |
Weld.disableDiscovery() |
By default, the discovery is enabled.
|
Weld |
Weld.disableIsolation() |
Disable bean archive isolation, i.e.
|
Weld |
Weld.enableDecorators(Class<?>... decoratorClasses) |
|
Weld |
Weld.enableDevMode() |
Enable the development mode.
|
Weld |
Weld.enableDiscovery() |
|
Weld |
Weld.enableInterceptors(Class<?>... interceptorClasses) |
|
Weld |
Weld.extensions(jakarta.enterprise.inject.spi.Extension... extensions) |
Define the set of extensions.
|
Weld |
Weld.interceptors(Class<?>... interceptorClasses) |
Enable interceptors for the synthetic bean archive, all previous values are removed.
|
Weld |
Weld.packages(Class<?>... packageClasses) |
All classes from the packages of the specified classes will be added to the set of bean classes for the synthetic bean archive.
|
Weld |
Weld.properties(Map<String,Object> properties) |
Set all the configuration properties.
|
Weld |
Weld.property(String key,
Object value) |
Set the configuration property.
|
Weld |
Weld.reset() |
Reset the synthetic bean archive (bean classes and enablement), explicitly added extensions and services.
|
Weld |
Weld.resetAll() |
Reset all the state, except for initialized containers.
|
Weld |
Weld.scanClasspathEntries() |
Scans the class path entries - implicit bean archives which don't contain a beans.xml file are supported.
|
Weld |
Weld.selectAlternatives(Class<?>... alternativeClasses) |
|
Weld |
Weld.selectAlternativeStereotypes(Class<? extends Annotation>... alternativeStereotypeClasses) |
|
Weld |
Weld.setBeanDiscoveryMode(org.jboss.weld.bootstrap.spi.BeanDiscoveryMode mode) |
Sets the bean discovery mode for synthetic bean archive.
|
Weld |
Weld.setClassLoader(ClassLoader classLoader) |
|
Weld |
Weld.setProperties(Map<String,Object> propertiesMap) |
|
Weld |
Weld.setResourceLoader(org.jboss.weld.resources.spi.ResourceLoader resourceLoader) |
Set a ResourceLoader used to scan the application for bean archives.
|
Weld |
Weld.skipShutdownHook() |
Skip shutdown hook registration.
|