|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AssemblyDescriptorType
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.
Java class for assembly-descriptorType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="assembly-descriptorType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="security-role" type="{http://java.sun.com/xml/ns/javaee}security-roleType" maxOccurs="unbounded" minOccurs="0"/>
<element name="method-permission" type="{http://java.sun.com/xml/ns/javaee}method-permissionType" maxOccurs="unbounded" minOccurs="0"/>
<element name="container-transaction" type="{http://java.sun.com/xml/ns/javaee}container-transactionType" maxOccurs="unbounded" minOccurs="0"/>
<element name="interceptor-binding" type="{http://java.sun.com/xml/ns/javaee}interceptor-bindingType" maxOccurs="unbounded" minOccurs="0"/>
<element name="message-destination" type="{http://java.sun.com/xml/ns/javaee}message-destinationType" maxOccurs="unbounded" minOccurs="0"/>
<element name="exclude-list" type="{http://java.sun.com/xml/ns/javaee}exclude-listType" minOccurs="0"/>
<element name="application-exception" type="{http://java.sun.com/xml/ns/javaee}application-exceptionType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Method Detail |
|---|
SecurityRoleType[] getSecurityRole()
SecurityRoleTypeSecurityRoleType getSecurityRole(int idx)
SecurityRoleTypeint getSecurityRoleLength()
void setSecurityRole(SecurityRoleType[] values)
values - allowed objects are
SecurityRoleType
SecurityRoleType setSecurityRole(int idx,
SecurityRoleType value)
value - allowed object is
SecurityRoleTypeMethodPermissionType[] getMethodPermission()
MethodPermissionTypeMethodPermissionType getMethodPermission(int idx)
MethodPermissionTypeint getMethodPermissionLength()
void setMethodPermission(MethodPermissionType[] values)
values - allowed objects are
MethodPermissionType
MethodPermissionType setMethodPermission(int idx,
MethodPermissionType value)
value - allowed object is
MethodPermissionTypeContainerTransactionType[] getContainerTransaction()
ContainerTransactionTypeContainerTransactionType getContainerTransaction(int idx)
ContainerTransactionTypeint getContainerTransactionLength()
void setContainerTransaction(ContainerTransactionType[] values)
values - allowed objects are
ContainerTransactionType
ContainerTransactionType setContainerTransaction(int idx,
ContainerTransactionType value)
value - allowed object is
ContainerTransactionTypeInterceptorBindingType[] getInterceptorBinding()
InterceptorBindingTypeInterceptorBindingType getInterceptorBinding(int idx)
InterceptorBindingTypeint getInterceptorBindingLength()
void setInterceptorBinding(InterceptorBindingType[] values)
values - allowed objects are
InterceptorBindingType
InterceptorBindingType setInterceptorBinding(int idx,
InterceptorBindingType value)
value - allowed object is
InterceptorBindingTypeMessageDestinationType[] getMessageDestination()
MessageDestinationTypeMessageDestinationType getMessageDestination(int idx)
MessageDestinationTypeint getMessageDestinationLength()
void setMessageDestination(MessageDestinationType[] values)
values - allowed objects are
MessageDestinationType
MessageDestinationType setMessageDestination(int idx,
MessageDestinationType value)
value - allowed object is
MessageDestinationTypeExcludeListType getExcludeList()
ExcludeListTypevoid setExcludeList(ExcludeListType value)
value - allowed object is
ExcludeListTypeApplicationExceptionType[] getApplicationException()
ApplicationExceptionTypeApplicationExceptionType getApplicationException(int idx)
ApplicationExceptionTypeint getApplicationExceptionLength()
void setApplicationException(ApplicationExceptionType[] values)
values - allowed objects are
ApplicationExceptionType
ApplicationExceptionType setApplicationException(int idx,
ApplicationExceptionType value)
value - allowed object is
ApplicationExceptionTypeString getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||