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 |
---|---|
Alternatives<BeansDescriptor> |
getOrCreateAlternatives()
If not already created, a new
alternatives element with the given value will be created. |
Decorators<BeansDescriptor> |
getOrCreateDecorators()
If not already created, a new
decorators element with the given value will be created. |
Interceptors<BeansDescriptor> |
getOrCreateInterceptors()
If not already created, a new
interceptors element with the given value will be created. |
BeansDescriptor |
removeAlternatives()
Removes the
alternatives element |
BeansDescriptor |
removeDecorators()
Removes the
decorators element |
BeansDescriptor |
removeInterceptors()
Removes the
interceptors element |
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces
exportAsString, exportTo, getDescriptorName
Interceptors<BeansDescriptor> getOrCreateInterceptors()
interceptors
element with the given value will be created.
Otherwise, the existing interceptors
element will be returned.Interceptors
BeansDescriptor removeInterceptors()
interceptors
elementBeansDescriptor
Decorators<BeansDescriptor> getOrCreateDecorators()
decorators
element with the given value will be created.
Otherwise, the existing decorators
element will be returned.Decorators
BeansDescriptor removeDecorators()
decorators
elementBeansDescriptor
Alternatives<BeansDescriptor> getOrCreateAlternatives()
alternatives
element with the given value will be created.
Otherwise, the existing alternatives
element will be returned.Alternatives
BeansDescriptor removeAlternatives()
alternatives
elementBeansDescriptor
Copyright © 2019 JBoss by Red Hat. All rights reserved.