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  List<ApplicationException> applicationException
           
protected  List<ContainerTransaction> containerTransaction
           
protected  ExcludeList excludeList
           
protected  String id
           
protected  List<InterceptorBinding> interceptorBinding
           
protected  List<MessageDestination> messageDestination
           
protected  List<MethodPermission> methodPermission
           
protected  List<SecurityRole> securityRole
           
 
Constructor Summary
AssemblyDescriptor()
           
 
Method Summary
 InterceptorBinding addInterceptorBinding(InterceptorBinding binding)
           
 List<ApplicationException> getApplicationException()
           
 List<ContainerTransaction> getContainerTransaction()
           
 ExcludeList getExcludeList()
           
 String getId()
           
 List<InterceptorBinding> getInterceptorBinding()
           
 List<MessageDestination> getMessageDestination()
           
 List<MethodPermission> getMethodPermission()
           
 Map<String,List<MethodTransaction>> getMethodTransactions(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

interceptorBinding

protected List<InterceptorBinding> interceptorBinding

messageDestination

protected List<MessageDestination> messageDestination

excludeList

protected ExcludeList excludeList

applicationException

protected List<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()

getMethodTransactions

public Map<String,List<MethodTransaction>> getMethodTransactions(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 List<ApplicationException> getApplicationException()

getId

public String getId()

setId

public void setId(String value)


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