public interface BeansDescriptor extends Descriptor, DescriptorNamespace<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> |
createAlternatives()
Creates a new
alternatives element |
Decorators<BeansDescriptor> |
createDecorators()
Creates a new
decorators element |
Interceptors<BeansDescriptor> |
createInterceptors()
Creates a new
interceptors 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 |
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. |
BeansDescriptor |
removeAllAlternatives()
Removes all
alternatives elements |
BeansDescriptor |
removeAllDecorators()
Removes all
decorators elements |
BeansDescriptor |
removeAllInterceptors()
Removes all
interceptors elements |
exportAsString, exportTo, getDescriptorName
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces
Interceptors<BeansDescriptor> getOrCreateInterceptors()
interceptors
element will be created and returned.
Otherwise, the first existing interceptors
element will be returned.interceptors
Interceptors<BeansDescriptor> createInterceptors()
interceptors
elementInterceptors
List<Interceptors<BeansDescriptor>> getAllInterceptors()
interceptors
elementsinterceptors
BeansDescriptor removeAllInterceptors()
interceptors
elementsInterceptors
Decorators<BeansDescriptor> getOrCreateDecorators()
decorators
element will be created and returned.
Otherwise, the first existing decorators
element will be returned.decorators
Decorators<BeansDescriptor> createDecorators()
decorators
elementDecorators
List<Decorators<BeansDescriptor>> getAllDecorators()
decorators
elementsdecorators
BeansDescriptor removeAllDecorators()
decorators
elementsDecorators
Alternatives<BeansDescriptor> getOrCreateAlternatives()
alternatives
element will be created and returned.
Otherwise, the first existing alternatives
element will be returned.alternatives
Alternatives<BeansDescriptor> createAlternatives()
alternatives
elementAlternatives
List<Alternatives<BeansDescriptor>> getAllAlternatives()
alternatives
elementsalternatives
BeansDescriptor removeAllAlternatives()
alternatives
elementsAlternatives
Copyright © 2013 JBoss by Red Hat. All rights reserved.