org.objectweb.easybeans.deployment.xml.struct
Class AssemblyDescriptor

java.lang.Object
  extended by org.objectweb.easybeans.deployment.xml.struct.AssemblyDescriptor

public class AssemblyDescriptor
extends java.lang.Object

This class defines the implementation of the element assembly-descriptor.

Author:
Florent Benoit

Field Summary
private  java.util.List<JApplicationException> applicationExceptionList
          List of <application-exception> elements.
private  java.util.List<InterceptorBinding> interceptorBindingList
          List of <interceptor-binding> elements.
static java.lang.String NAME
          Name of this element.
 
Constructor Summary
AssemblyDescriptor()
          Constructor.
 
Method Summary
 void addApplicationException(JApplicationException applicationException)
          Adds a new <application-exception> element to assembly descriptor.
 void addInterceptorBinding(InterceptorBinding interceptorBinding)
          Adds a new <interceptor-binding> element to assembly descriptor.
 java.util.List<JApplicationException> getApplicationExceptionList()
          Gets the list of <application-exception> elements.
 java.util.List<InterceptorBinding> getInterceptorBindingList()
          Gets the list of <interceptor-binding> elements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
Name of this element.

See Also:
Constant Field Values

applicationExceptionList

private java.util.List<JApplicationException> applicationExceptionList
List of <application-exception> elements.


interceptorBindingList

private java.util.List<InterceptorBinding> interceptorBindingList
List of <interceptor-binding> elements.

Constructor Detail

AssemblyDescriptor

public AssemblyDescriptor()
Constructor.

Method Detail

getApplicationExceptionList

public java.util.List<JApplicationException> getApplicationExceptionList()
Gets the list of <application-exception> elements.

Returns:
list of <application-exception> elements.

addApplicationException

public void addApplicationException(JApplicationException applicationException)
Adds a new <application-exception> element to assembly descriptor.

Parameters:
applicationException - the <application-exception> element

getInterceptorBindingList

public java.util.List<InterceptorBinding> getInterceptorBindingList()
Gets the list of <interceptor-binding> elements.

Returns:
list of <interceptor-binding> elements.

addInterceptorBinding

public void addInterceptorBinding(InterceptorBinding interceptorBinding)
Adds a new <interceptor-binding> element to assembly descriptor.

Parameters:
interceptorBinding - the <interceptor-binding> element