org.apache.openejb.jee
Class AssemblyDescriptor

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

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

Field Detail

securityRole

protected List<SecurityRole> securityRole

methodPermission

protected List<MethodPermission> methodPermission

containerTransaction

protected List<ContainerTransaction> containerTransaction

containerConcurrency

protected List<ContainerConcurrency> containerConcurrency

methodSchedule

protected List<MethodSchedule> methodSchedule

interceptorBinding

protected List<InterceptorBinding> interceptorBinding

messageDestination

protected List<MessageDestination> messageDestination

excludeList

protected ExcludeList excludeList

applicationException

protected KeyedCollection<String,ApplicationException> applicationException

id

protected String id
Constructor Detail

AssemblyDescriptor

public AssemblyDescriptor()
Method Detail

getSecurityRole

public List<SecurityRole> getSecurityRole()

getMethodPermission

public List<MethodPermission> getMethodPermission()

getContainerTransaction

public List<ContainerTransaction> getContainerTransaction()

getContainerConcurrency

public List<ContainerConcurrency> getContainerConcurrency()

getMethodSchedule

public List<MethodSchedule> getMethodSchedule()

getMethodTransactionMap

public Map<String,List<MethodAttribute>> getMethodTransactionMap(String ejbName)

getMethodConcurrencyMap

public Map<String,List<MethodAttribute>> getMethodConcurrencyMap(String ejbName)

getMethodScheduleMap

public Map<String,List<MethodAttribute>> getMethodScheduleMap(String ejbName)

getInterceptorBinding

public List<InterceptorBinding> getInterceptorBinding()

addInterceptorBinding

public InterceptorBinding addInterceptorBinding(InterceptorBinding binding)

getMessageDestination

public List<MessageDestination> getMessageDestination()

getExcludeList

public ExcludeList getExcludeList()

setExcludeList

public void setExcludeList(ExcludeList value)

getApplicationException

public Collection<ApplicationException> getApplicationException()

getApplicationExceptionMap

public Map<String,ApplicationException> getApplicationExceptionMap()

getApplicationException

public ApplicationException getApplicationException(String className)

getApplicationException

public ApplicationException getApplicationException(Class clazz)

addApplicationException

public void addApplicationException(Class clazz,
                                    boolean rollback)

getId

public String getId()

setId

public void setId(String value)


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