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