org.apache.openejb.jee
Class AssemblyDescriptor
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
AssemblyDescriptor
public AssemblyDescriptor()
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.