org.jboss.metadata.common.ejb
Interface IAssemblyDescriptorMetaData

All Known Implementing Classes:
AssemblyDescriptorMetaData, JBossAssemblyDescriptorMetaData

public interface IAssemblyDescriptorMetaData

interface for ejb assembly-descriptor contents

Version:
$Revision: 75470 $
Author:
Scott.Stark@jboss.org

Method Summary
 ApplicationExceptionsMetaData getApplicationExceptions()
          Get the applicationExceptions.
 ContainerTransactionsMetaData getContainerTransactions()
          Get the containerTransactions.
 ContainerTransactionsMetaData getContainerTransactionsByEjbName(String ejbName)
          Get the container transactions for an ejb
 ExcludeListMetaData getExcludeList()
          Get the excludeList.
 ExcludeListMetaData getExcludeListByEjbName(String ejbName)
          Get the exclude list for an ejb
 InterceptorBindingsMetaData getInterceptorBindings()
          Get the interceptorBindings.
 MessageDestinationMetaData getMessageDestination(String name)
          Get a message destination
 MessageDestinationsMetaData getMessageDestinations()
          Get the messageDestinations.
 MethodPermissionsMetaData getMethodPermissions()
          Get the methodPermissions.
 MethodPermissionsMetaData getMethodPermissionsByEjbName(String ejbName)
          Get the methods permissions for an ejb
 SecurityRoleMetaData getSecurityRole(String roleName)
           
 SecurityRolesMetaData getSecurityRoles()
          Get the securityRoles.
 void setApplicationExceptions(ApplicationExceptionsMetaData applicationExceptions)
          Set the applicationExceptions.
 void setContainerTransactions(ContainerTransactionsMetaData containerTransactions)
          Set the containerTransactions.
 void setExcludeList(ExcludeListMetaData excludeList)
          Set the excludeList.
 void setInterceptorBindings(InterceptorBindingsMetaData interceptorBindings)
          Set the interceptorBindings.
 void setMessageDestinations(MessageDestinationsMetaData messageDestinations)
          Set the messageDestinations.
 void setMethodPermissions(MethodPermissionsMetaData methodPermissions)
          Set the methodPermissions.
 void setSecurityRoles(SecurityRolesMetaData securityRoles)
          Set the securityRoles.
 

Method Detail

getSecurityRole

SecurityRoleMetaData getSecurityRole(String roleName)

getSecurityRoles

SecurityRolesMetaData getSecurityRoles()
Get the securityRoles.

Returns:
the securityRoles.

setSecurityRoles

void setSecurityRoles(SecurityRolesMetaData securityRoles)
Set the securityRoles.

Parameters:
securityRoles - the securityRoles.
Throws:
IllegalArgumentException - for a null securityRoles

getMethodPermissions

MethodPermissionsMetaData getMethodPermissions()
Get the methodPermissions.

Returns:
the methodPermissions.

setMethodPermissions

void setMethodPermissions(MethodPermissionsMetaData methodPermissions)
Set the methodPermissions.

Parameters:
methodPermissions - the methodPermissions.
Throws:
IllegalArgumentException - for a null methodPermissions

getMethodPermissionsByEjbName

MethodPermissionsMetaData getMethodPermissionsByEjbName(String ejbName)
Get the methods permissions for an ejb

Parameters:
ejbName - the ejb name
Returns:
the method permissions or null for no result
Throws:
IllegalArgumentException - for a null ejb name

getContainerTransactions

ContainerTransactionsMetaData getContainerTransactions()
Get the containerTransactions.

Returns:
the containerTransactions.

setContainerTransactions

void setContainerTransactions(ContainerTransactionsMetaData containerTransactions)
Set the containerTransactions.

Parameters:
containerTransactions - the containerTransactions.
Throws:
IllegalArgumentException - for a null containerTransactions

getContainerTransactionsByEjbName

ContainerTransactionsMetaData getContainerTransactionsByEjbName(String ejbName)
Get the container transactions for an ejb

Parameters:
ejbName - the ejb name
Returns:
the container transactions or null for no result
Throws:
IllegalArgumentException - for a null ejb name

getInterceptorBindings

InterceptorBindingsMetaData getInterceptorBindings()
Get the interceptorBindings.

Returns:
the interceptorBindings.

setInterceptorBindings

void setInterceptorBindings(InterceptorBindingsMetaData interceptorBindings)
Set the interceptorBindings.

Parameters:
interceptorBindings - the interceptorBindings.
Throws:
IllegalArgumentException - for a null interceptorBindings

getMessageDestinations

MessageDestinationsMetaData getMessageDestinations()
Get the messageDestinations.

Returns:
the messageDestinations.

setMessageDestinations

void setMessageDestinations(MessageDestinationsMetaData messageDestinations)
Set the messageDestinations.

Parameters:
messageDestinations - the messageDestinations.
Throws:
IllegalArgumentException - for a null messageDestinations

getMessageDestination

MessageDestinationMetaData getMessageDestination(String name)
Get a message destination

Parameters:
name - the name of the destination
Returns:
the destination or null if not found

getExcludeList

ExcludeListMetaData getExcludeList()
Get the excludeList.

Returns:
the excludeList.

setExcludeList

void setExcludeList(ExcludeListMetaData excludeList)
Set the excludeList.

Parameters:
excludeList - the excludeList.
Throws:
IllegalArgumentException - for a null excludeList

getExcludeListByEjbName

ExcludeListMetaData getExcludeListByEjbName(String ejbName)
Get the exclude list for an ejb

Parameters:
ejbName - the ejb name
Returns:
the exclude list or null for no result
Throws:
IllegalArgumentException - for a null ejb name

getApplicationExceptions

ApplicationExceptionsMetaData getApplicationExceptions()
Get the applicationExceptions.

Returns:
the applicationExceptions.

setApplicationExceptions

void setApplicationExceptions(ApplicationExceptionsMetaData applicationExceptions)
Set the applicationExceptions.

Parameters:
applicationExceptions - the applicationExceptions.
Throws:
IllegalArgumentException - for a null applicationExceptions


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