ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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 :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 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
 
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 will be created and returned. Otherwise, the first existing interceptors element will be returned.

Returns:
the instance defined for the element interceptors

createInterceptors

Interceptors<BeansDescriptor> createInterceptors()
Creates a new interceptors element

Returns:
the new created instance of Interceptors

getAllInterceptors

List<Interceptors<BeansDescriptor>> getAllInterceptors()
Returns all interceptors elements

Returns:
list of interceptors

removeAllInterceptors

BeansDescriptor removeAllInterceptors()
Removes all interceptors elements

Returns:
the current instance of Interceptors

getOrCreateDecorators

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

Returns:
the instance defined for the element decorators

createDecorators

Decorators<BeansDescriptor> createDecorators()
Creates a new decorators element

Returns:
the new created instance of Decorators

getAllDecorators

List<Decorators<BeansDescriptor>> getAllDecorators()
Returns all decorators elements

Returns:
list of decorators

removeAllDecorators

BeansDescriptor removeAllDecorators()
Removes all decorators elements

Returns:
the current instance of Decorators

getOrCreateAlternatives

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

Returns:
the instance defined for the element alternatives

createAlternatives

Alternatives<BeansDescriptor> createAlternatives()
Creates a new alternatives element

Returns:
the new created instance of Alternatives

getAllAlternatives

List<Alternatives<BeansDescriptor>> getAllAlternatives()
Returns all alternatives elements

Returns:
list of alternatives

removeAllAlternatives

BeansDescriptor removeAllAlternatives()
Removes all alternatives elements

Returns:
the current instance of Alternatives

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.