org.apache.openejb.jee
Class AssemblyDescriptor

java.lang.Object
  extended by org.apache.openejb.jee.AssemblyDescriptor

public class AssemblyDescriptor
extends java.lang.Object

The assembly-descriptorType defines application-assembly information.

The application-assembly information consists of the following parts: the definition of security roles, the definition of method permissions, the definition of transaction attributes for enterprise beans with container-managed transaction demarcation, the definition of interceptor bindings, a list of methods to be excluded from being invoked, and a list of exception types that should be treated as application exceptions.

All the parts are optional in the sense that they are omitted if the lists represented by them are empty.

Providing an assembly-descriptor in the deployment descriptor is optional for the ejb-jar file producer.


Field Summary
protected  KeyedCollection<java.lang.String,ApplicationException> applicationException
           
protected  java.util.List<ContainerConcurrency> containerConcurrency
           
protected  java.util.List<ContainerTransaction> containerTransaction
           
protected  ExcludeList excludeList
           
protected  java.lang.String id
           
protected  java.util.List<InterceptorBinding> interceptorBinding
           
protected  java.util.List<MessageDestination> messageDestination
           
protected  java.util.List<MethodPermission> methodPermission
           
protected  java.util.List<MethodSchedule> methodSchedule
           
protected  java.util.List<SecurityRole> securityRole
           
 
Constructor Summary
AssemblyDescriptor()
           
 
Method Summary
 void addApplicationException(java.lang.Class clazz, boolean rollback)
           
 InterceptorBinding addInterceptorBinding(InterceptorBinding binding)
           
 java.util.Collection<ApplicationException> getApplicationException()
           
 ApplicationException getApplicationException(java.lang.Class clazz)
           
 ApplicationException getApplicationException(java.lang.String className)
           
 java.util.Map<java.lang.String,ApplicationException> getApplicationExceptionMap()
           
 java.util.List<ContainerConcurrency> getContainerConcurrency()
           
 java.util.List<ContainerTransaction> getContainerTransaction()
           
 ExcludeList getExcludeList()
           
 java.lang.String getId()
           
 java.util.List<InterceptorBinding> getInterceptorBinding()
           
 java.util.List<MessageDestination> getMessageDestination()
           
 java.util.Map<java.lang.String,java.util.List<MethodAttribute>> getMethodConcurrencyMap(java.lang.String ejbName)
           
 java.util.List<MethodPermission> getMethodPermission()
           
 java.util.List<MethodSchedule> getMethodSchedule()
           
 java.util.Map<java.lang.String,java.util.List<MethodAttribute>> getMethodScheduleMap(java.lang.String ejbName)
           
 java.util.Map<java.lang.String,java.util.List<MethodAttribute>> getMethodTransactionMap(java.lang.String ejbName)
           
 java.util.List<SecurityRole> getSecurityRole()
           
 void setExcludeList(ExcludeList value)
           
 void setId(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

securityRole

protected java.util.List<SecurityRole> securityRole

methodPermission

protected java.util.List<MethodPermission> methodPermission

containerTransaction

protected java.util.List<ContainerTransaction> containerTransaction

containerConcurrency

protected java.util.List<ContainerConcurrency> containerConcurrency

methodSchedule

protected java.util.List<MethodSchedule> methodSchedule

interceptorBinding

protected java.util.List<InterceptorBinding> interceptorBinding

messageDestination

protected java.util.List<MessageDestination> messageDestination

excludeList

protected ExcludeList excludeList

applicationException

protected KeyedCollection<java.lang.String,ApplicationException> applicationException

id

protected java.lang.String id
Constructor Detail

AssemblyDescriptor

public AssemblyDescriptor()
Method Detail

getSecurityRole

public java.util.List<SecurityRole> getSecurityRole()

getMethodPermission

public java.util.List<MethodPermission> getMethodPermission()

getContainerTransaction

public java.util.List<ContainerTransaction> getContainerTransaction()

getContainerConcurrency

public java.util.List<ContainerConcurrency> getContainerConcurrency()

getMethodSchedule

public java.util.List<MethodSchedule> getMethodSchedule()

getMethodTransactionMap

public java.util.Map<java.lang.String,java.util.List<MethodAttribute>> getMethodTransactionMap(java.lang.String ejbName)

getMethodConcurrencyMap

public java.util.Map<java.lang.String,java.util.List<MethodAttribute>> getMethodConcurrencyMap(java.lang.String ejbName)

getMethodScheduleMap

public java.util.Map<java.lang.String,java.util.List<MethodAttribute>> getMethodScheduleMap(java.lang.String ejbName)

getInterceptorBinding

public java.util.List<InterceptorBinding> getInterceptorBinding()

addInterceptorBinding

public InterceptorBinding addInterceptorBinding(InterceptorBinding binding)

getMessageDestination

public java.util.List<MessageDestination> getMessageDestination()

getExcludeList

public ExcludeList getExcludeList()

setExcludeList

public void setExcludeList(ExcludeList value)

getApplicationException

public java.util.Collection<ApplicationException> getApplicationException()

getApplicationExceptionMap

public java.util.Map<java.lang.String,ApplicationException> getApplicationExceptionMap()

getApplicationException

public ApplicationException getApplicationException(java.lang.String className)

getApplicationException

public ApplicationException getApplicationException(java.lang.Class clazz)

addApplicationException

public void addApplicationException(java.lang.Class clazz,
                                    boolean rollback)

getId

public java.lang.String getId()

setId

public void setId(java.lang.String value)


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.