org.jboss.shrinkwrap.descriptor.api.beans10
Interface BeansDescriptor

All Superinterfaces:
Descriptor, DescriptorNamespace<BeansDescriptor>

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);

Since:
Generation date :2013-01-26T19:26:59.858+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 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
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor
exportAsString, exportTo, getDescriptorName
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces
 

Method Detail

getOrCreateInterceptors

Interceptors<BeansDescriptor> getOrCreateInterceptors()
If not already created, a new interceptors element with the given value will be created. Otherwise, the existing interceptors element will be returned.

Returns:
a new or existing instance of Interceptors

removeInterceptors

BeansDescriptor removeInterceptors()
Removes the interceptors element

Returns:
the current instance of BeansDescriptor

getOrCreateDecorators

Decorators<BeansDescriptor> getOrCreateDecorators()
If not already created, a new decorators element with the given value will be created. Otherwise, the existing decorators element will be returned.

Returns:
a new or existing instance of Decorators

removeDecorators

BeansDescriptor removeDecorators()
Removes the decorators element

Returns:
the current instance of BeansDescriptor

getOrCreateAlternatives

Alternatives<BeansDescriptor> getOrCreateAlternatives()
If not already created, a new alternatives element with the given value will be created. Otherwise, the existing alternatives element will be returned.

Returns:
a new or existing instance of Alternatives

removeAlternatives

BeansDescriptor removeAlternatives()
Removes the alternatives element

Returns:
the current instance of BeansDescriptor


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.