Package | Description |
---|---|
org.jboss.weld.environment.se |
Modifier and Type | Method and Description |
---|---|
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.addDecorator(Class<?> decoratorClass)
Add a decorator class to the list of enabled decorators for a synthetic bean archive.
|
Weld |
Weld.addExtension(Extension extension)
Add an extension to the set of extensions.
|
Weld |
Weld.addInterceptor(Class<?> interceptorClass)
Add an interceptor class to the list of enabled interceptors for a 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.alternatives(Class<?>... alternativeClasses)
Select alternatives for a synthetic bean archive.
|
Weld |
Weld.alternativeStereotypes(Class<? extends Annotation>... alternativeStereotypeClasses)
Select alternative stereotypes for a synthetic bean archive.
|
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 a synthetic bean archive.
|
Weld |
Weld.disableDiscovery()
By default, the discovery is enabled.
|
Weld |
Weld.enableDiscovery() |
Weld |
Weld.extensions(Extension... extensions)
Define the set of extensions.
|
Weld |
Weld.interceptors(Class<?>... interceptorClasses)
Enable interceptors for a synthetic bean archive.
|
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.property(String key,
Object value)
Set the configuration property.
|
Weld |
Weld.reset()
Reset the synthetic bean archive (bean classes and enablement) and explicitly added extensions.
|
Weld |
Weld.resetAll()
Reset all the state, except for initialized containers.
|
Weld |
Weld.setClassLoader(ClassLoader classLoader)
Set a
ClassLoader . |
Weld |
Weld.setResourceLoader(ResourceLoader resourceLoader)
Set a
ResourceLoader used to scan the application for bean archives. |
Copyright © 2015. All Rights Reserved.