org.ow2.util.ee.metadata.ejbjar.api.xml.struct
Interface IAssemblyDescriptor

All Superinterfaces:
Serializable

public interface IAssemblyDescriptor
extends Serializable

Assembly descriptor interface.

Author:
Florent Benoit

Field Summary
static String NAME
          Name of this element.
 
Method Summary
 void addApplicationException(IApplicationException applicationException)
          Adds a new <application-exception> element to assembly descriptor.
 void addContainerTransaction(IContainerTransaction containerTransaction)
          Adds a new <container-transaction> element to assembly descriptor.
 void addExcludeList(IMethodDD excludeListMethod)
          Adds a new <exclude-list> element to assembly descriptor.
 void addInterceptorBinding(IInterceptorBinding interceptorBinding)
          Adds a new <interceptor-binding> element to assembly descriptor.
 void addMessageDestination(IMessageDestination messageDestination)
          Adds a new <message-destination> element to assembly descriptor.
 void addMethodPermission(IMethodPermission methodPermission)
          Adds a new <method-permission> element to assembly descriptor.
 void addSecurityRole(String securityRole)
          Adds a new <security-role> element to assembly descriptor.
 List<IApplicationException> getApplicationExceptionList()
          Gets the list of <application-exception> elements.
 List<IContainerTransaction> getContainerTransactionList()
          Gets the list of <container-transaction> elements.
 List<IMethodDD> getExcludeListMethods()
          Gets the list of <exclude-list> elements.
 List<IInterceptorBinding> getInterceptorBindingList()
          Gets the list of <interceptor-binding> elements.
 List<IMessageDestination> getMessageDestinationlist()
          Gets the list of <message-destination> elements.
 List<IMethodPermission> getMethodPermissionList()
          Gets the list of <method-permission> elements.
 List<String> getSecurityRoleList()
          Gets the list of <security-role> elements.
 

Field Detail

NAME

static final String NAME
Name of this element.

See Also:
Constant Field Values
Method Detail

getApplicationExceptionList

List<IApplicationException> getApplicationExceptionList()
Gets the list of <application-exception> elements.

Returns:
list of <application-exception> elements.

addApplicationException

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

Parameters:
applicationException - the <application-exception> element

getContainerTransactionList

List<IContainerTransaction> getContainerTransactionList()
Gets the list of <container-transaction> elements.

Returns:
list of <container-transaction> elements.

addContainerTransaction

void addContainerTransaction(IContainerTransaction containerTransaction)
Adds a new <container-transaction> element to assembly descriptor.

Parameters:
containerTransaction - the <application-exception> element

getInterceptorBindingList

List<IInterceptorBinding> getInterceptorBindingList()
Gets the list of <interceptor-binding> elements.

Returns:
list of <interceptor-binding> elements.

addInterceptorBinding

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

Parameters:
interceptorBinding - the <interceptor-binding> element

getMethodPermissionList

List<IMethodPermission> getMethodPermissionList()
Gets the list of <method-permission> elements.

Returns:
list of <method-permission> elements.

addMethodPermission

void addMethodPermission(IMethodPermission methodPermission)
Adds a new <method-permission> element to assembly descriptor.

Parameters:
methodPermission - the <method-permission> element

getExcludeListMethods

List<IMethodDD> getExcludeListMethods()
Gets the list of <exclude-list> elements.

Returns:
list of <exclude-list> elements.

addExcludeList

void addExcludeList(IMethodDD excludeListMethod)
Adds a new <exclude-list> element to assembly descriptor.

Parameters:
excludeListMethod - the <exclude-list> element

getSecurityRoleList

List<String> getSecurityRoleList()
Gets the list of <security-role> elements.

Returns:
list of <security-role> elements.

addSecurityRole

void addSecurityRole(String securityRole)
Adds a new <security-role> element to assembly descriptor.

Parameters:
securityRole - the <security-role> element

getMessageDestinationlist

List<IMessageDestination> getMessageDestinationlist()
Gets the list of <message-destination> elements.

Returns:
list of <message-destination> elements.

addMessageDestination

void addMessageDestination(IMessageDestination messageDestination)
Adds a new <message-destination> element to assembly descriptor.

Parameters:
messageDestination - the <message-destination> element


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.