|
||||||||||
| 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 Summary | |
|---|---|
List<ApplicationExceptionType> |
getApplicationException()
Gets the value of the applicationException property. |
List<ContainerTransactionType> |
getContainerTransaction()
Gets the value of the containerTransaction property. |
ExcludeListType |
getExcludeList()
Gets the value of the excludeList property. |
String |
getId()
Gets the value of the id property. |
List<InterceptorBindingType> |
getInterceptorBinding()
Gets the value of the interceptorBinding property. |
List<MessageDestinationType> |
getMessageDestination()
Gets the value of the messageDestination property. |
List<MethodPermissionType> |
getMethodPermission()
Gets the value of the methodPermission property. |
List<SecurityRoleType> |
getSecurityRole()
Gets the value of the securityRole property. |
void |
setExcludeList(ExcludeListType value)
Sets the value of the excludeList property. |
void |
setId(String value)
Sets the value of the id property. |
| Method Detail |
|---|
List<SecurityRoleType> getSecurityRole()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the securityRole property.
For example, to add a new item, do as follows:
getSecurityRole().add(newItem);
Objects of the following type(s) are allowed in the list
SecurityRoleType
List<MethodPermissionType> getMethodPermission()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the methodPermission property.
For example, to add a new item, do as follows:
getMethodPermission().add(newItem);
Objects of the following type(s) are allowed in the list
MethodPermissionType
List<ContainerTransactionType> getContainerTransaction()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the containerTransaction property.
For example, to add a new item, do as follows:
getContainerTransaction().add(newItem);
Objects of the following type(s) are allowed in the list
ContainerTransactionType
List<InterceptorBindingType> getInterceptorBinding()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the interceptorBinding property.
For example, to add a new item, do as follows:
getInterceptorBinding().add(newItem);
Objects of the following type(s) are allowed in the list
InterceptorBindingType
List<MessageDestinationType> getMessageDestination()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the messageDestination property.
For example, to add a new item, do as follows:
getMessageDestination().add(newItem);
Objects of the following type(s) are allowed in the list
MessageDestinationType
ExcludeListType getExcludeList()
ExcludeListTypevoid setExcludeList(ExcludeListType value)
value - allowed object is
ExcludeListTypeList<ApplicationExceptionType> getApplicationException()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the applicationException property.
For example, to add a new item, do as follows:
getApplicationException().add(newItem);
Objects of the following type(s) are allowed in the list
ApplicationExceptionType
String 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 | |||||||||