
public interface BeansDescriptor extends Descriptor, DescriptorNamespace<BeansDescriptor>, BeansCommonDescriptor<BeansDescriptor>
This deployment descriptor provides the functionalities as described in the specification
Example:
BeansDescriptor descriptor = Descriptors.create(BeansDescriptor.class);
| Modifier and Type | Method and Description |
|---|---|
BeansDescriptor |
beanDiscoveryMode(String beanDiscoveryMode)
Sets the
bean-discovery-mode attribute |
Alternatives<BeansDescriptor> |
createAlternatives()
Creates a new
alternatives element |
Decorators<BeansDescriptor> |
createDecorators()
Creates a new
decorators element |
Interceptors<BeansDescriptor> |
createInterceptors()
Creates a new
interceptors element |
Scan<BeansDescriptor> |
createScan()
Creates a new
scan element |
List<Alternatives<BeansDescriptor>> |
getAllAlternatives()
Returns all
alternatives elements |
List<Decorators<BeansDescriptor>> |
getAllDecorators()
Returns all
decorators elements |
List<Interceptors<BeansDescriptor>> |
getAllInterceptors()
Returns all
interceptors elements |
List<Scan<BeansDescriptor>> |
getAllScan()
Returns all
scan elements |
String |
getBeanDiscoveryMode()
Returns the
bean-discovery-mode attribute |
Alternatives<BeansDescriptor> |
getOrCreateAlternatives()
If not already created, a new
alternatives element will be created and returned. |
Decorators<BeansDescriptor> |
getOrCreateDecorators()
If not already created, a new
decorators element will be created and returned. |
Interceptors<BeansDescriptor> |
getOrCreateInterceptors()
If not already created, a new
interceptors element will be created and returned. |
Scan<BeansDescriptor> |
getOrCreateScan()
If not already created, a new
scan element will be created and returned. |
String |
getVersion()
Returns the
version attribute |
BeansDescriptor |
removeAllAlternatives()
Removes all
alternatives elements |
BeansDescriptor |
removeAllDecorators()
Removes all
decorators elements |
BeansDescriptor |
removeAllInterceptors()
Removes all
interceptors elements |
BeansDescriptor |
removeAllScan()
Removes all
scan elements |
BeansDescriptor |
removeBeanDiscoveryMode()
Removes the
bean-discovery-mode attribute |
BeansDescriptor |
removeVersion()
Removes the
version attribute |
BeansDescriptor |
version(String version)
Sets the
version attribute |
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespacesexportAsString, exportTo, getDescriptorNameInterceptors<BeansDescriptor> getOrCreateInterceptors()
interceptors element will be created and returned.
Otherwise, the first existing interceptors element will be returned.interceptorsInterceptors<BeansDescriptor> createInterceptors()
interceptors elementInterceptorsList<Interceptors<BeansDescriptor>> getAllInterceptors()
interceptors elementsinterceptorsBeansDescriptor removeAllInterceptors()
interceptors elementsInterceptorsDecorators<BeansDescriptor> getOrCreateDecorators()
decorators element will be created and returned.
Otherwise, the first existing decorators element will be returned.decoratorsDecorators<BeansDescriptor> createDecorators()
decorators elementDecoratorsList<Decorators<BeansDescriptor>> getAllDecorators()
decorators elementsdecoratorsBeansDescriptor removeAllDecorators()
decorators elementsDecoratorsAlternatives<BeansDescriptor> getOrCreateAlternatives()
alternatives element will be created and returned.
Otherwise, the first existing alternatives element will be returned.alternativesAlternatives<BeansDescriptor> createAlternatives()
alternatives elementAlternativesList<Alternatives<BeansDescriptor>> getAllAlternatives()
alternatives elementsalternativesBeansDescriptor removeAllAlternatives()
alternatives elementsAlternativesScan<BeansDescriptor> getOrCreateScan()
scan element will be created and returned.
Otherwise, the first existing scan element will be returned.scanScan<BeansDescriptor> createScan()
scan elementScanList<Scan<BeansDescriptor>> getAllScan()
scan elementsscanBeansDescriptor removeAllScan()
scan elementsScanBeansDescriptor version(String version)
version attributeversion - the value for the attribute versionBeansDescriptorString getVersion()
version attributeversionBeansDescriptor removeVersion()
version attributeBeansDescriptorBeansDescriptor beanDiscoveryMode(String beanDiscoveryMode)
bean-discovery-mode attributebeanDiscoveryMode - the value for the attribute bean-discovery-modeBeansDescriptorString getBeanDiscoveryMode()
bean-discovery-mode attributebean-discovery-modeBeansDescriptor removeBeanDiscoveryMode()
bean-discovery-mode attributeBeansDescriptorCopyright © 2025 JBoss by Red Hat. All rights reserved.