net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.javaee
Interface AssemblyDescriptorType

All Known Implementing Classes:
AssemblyDescriptorTypeImpl

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
 ApplicationExceptionType[] getApplicationException()
           
 ApplicationExceptionType getApplicationException(int idx)
           
 int getApplicationExceptionLength()
           
 ContainerTransactionType[] getContainerTransaction()
           
 ContainerTransactionType getContainerTransaction(int idx)
           
 int getContainerTransactionLength()
           
 ExcludeListType getExcludeList()
          Gets the value of the excludeList property.
 String getId()
          Gets the value of the id property.
 InterceptorBindingType[] getInterceptorBinding()
           
 InterceptorBindingType getInterceptorBinding(int idx)
           
 int getInterceptorBindingLength()
           
 MessageDestinationType[] getMessageDestination()
           
 MessageDestinationType getMessageDestination(int idx)
           
 int getMessageDestinationLength()
           
 MethodPermissionType[] getMethodPermission()
           
 MethodPermissionType getMethodPermission(int idx)
           
 int getMethodPermissionLength()
           
 SecurityRoleType[] getSecurityRole()
           
 SecurityRoleType getSecurityRole(int idx)
           
 int getSecurityRoleLength()
           
 void setApplicationException(ApplicationExceptionType[] values)
           
 ApplicationExceptionType setApplicationException(int idx, ApplicationExceptionType value)
           
 void setContainerTransaction(ContainerTransactionType[] values)
           
 ContainerTransactionType setContainerTransaction(int idx, ContainerTransactionType value)
           
 void setExcludeList(ExcludeListType value)
          Sets the value of the excludeList property.
 void setId(String value)
          Sets the value of the id property.
 void setInterceptorBinding(InterceptorBindingType[] values)
           
 InterceptorBindingType setInterceptorBinding(int idx, InterceptorBindingType value)
           
 MessageDestinationType setMessageDestination(int idx, MessageDestinationType value)
           
 void setMessageDestination(MessageDestinationType[] values)
           
 MethodPermissionType setMethodPermission(int idx, MethodPermissionType value)
           
 void setMethodPermission(MethodPermissionType[] values)
           
 SecurityRoleType setSecurityRole(int idx, SecurityRoleType value)
           
 void setSecurityRole(SecurityRoleType[] values)
           
 

Method Detail

getSecurityRole

SecurityRoleType[] getSecurityRole()
Returns:
array of SecurityRoleType

getSecurityRole

SecurityRoleType getSecurityRole(int idx)
Returns:
one of SecurityRoleType

getSecurityRoleLength

int getSecurityRoleLength()

setSecurityRole

void setSecurityRole(SecurityRoleType[] values)
Parameters:
values - allowed objects are SecurityRoleType

setSecurityRole

SecurityRoleType setSecurityRole(int idx,
                                 SecurityRoleType value)
Parameters:
value - allowed object is SecurityRoleType

getMethodPermission

MethodPermissionType[] getMethodPermission()
Returns:
array of MethodPermissionType

getMethodPermission

MethodPermissionType getMethodPermission(int idx)
Returns:
one of MethodPermissionType

getMethodPermissionLength

int getMethodPermissionLength()

setMethodPermission

void setMethodPermission(MethodPermissionType[] values)
Parameters:
values - allowed objects are MethodPermissionType

setMethodPermission

MethodPermissionType setMethodPermission(int idx,
                                         MethodPermissionType value)
Parameters:
value - allowed object is MethodPermissionType

getContainerTransaction

ContainerTransactionType[] getContainerTransaction()
Returns:
array of ContainerTransactionType

getContainerTransaction

ContainerTransactionType getContainerTransaction(int idx)
Returns:
one of ContainerTransactionType

getContainerTransactionLength

int getContainerTransactionLength()

setContainerTransaction

void setContainerTransaction(ContainerTransactionType[] values)
Parameters:
values - allowed objects are ContainerTransactionType

setContainerTransaction

ContainerTransactionType setContainerTransaction(int idx,
                                                 ContainerTransactionType value)
Parameters:
value - allowed object is ContainerTransactionType

getInterceptorBinding

InterceptorBindingType[] getInterceptorBinding()
Returns:
array of InterceptorBindingType

getInterceptorBinding

InterceptorBindingType getInterceptorBinding(int idx)
Returns:
one of InterceptorBindingType

getInterceptorBindingLength

int getInterceptorBindingLength()

setInterceptorBinding

void setInterceptorBinding(InterceptorBindingType[] values)
Parameters:
values - allowed objects are InterceptorBindingType

setInterceptorBinding

InterceptorBindingType setInterceptorBinding(int idx,
                                             InterceptorBindingType value)
Parameters:
value - allowed object is InterceptorBindingType

getMessageDestination

MessageDestinationType[] getMessageDestination()
Returns:
array of MessageDestinationType

getMessageDestination

MessageDestinationType getMessageDestination(int idx)
Returns:
one of MessageDestinationType

getMessageDestinationLength

int getMessageDestinationLength()

setMessageDestination

void setMessageDestination(MessageDestinationType[] values)
Parameters:
values - allowed objects are MessageDestinationType

setMessageDestination

MessageDestinationType setMessageDestination(int idx,
                                             MessageDestinationType value)
Parameters:
value - allowed object is MessageDestinationType

getExcludeList

ExcludeListType getExcludeList()
Gets the value of the excludeList property.

Returns:
possible object is ExcludeListType

setExcludeList

void setExcludeList(ExcludeListType value)
Sets the value of the excludeList property.

Parameters:
value - allowed object is ExcludeListType

getApplicationException

ApplicationExceptionType[] getApplicationException()
Returns:
array of ApplicationExceptionType

getApplicationException

ApplicationExceptionType getApplicationException(int idx)
Returns:
one of ApplicationExceptionType

getApplicationExceptionLength

int getApplicationExceptionLength()

setApplicationException

void setApplicationException(ApplicationExceptionType[] values)
Parameters:
values - allowed objects are ApplicationExceptionType

setApplicationException

ApplicationExceptionType setApplicationException(int idx,
                                                 ApplicationExceptionType value)
Parameters:
value - allowed object is ApplicationExceptionType

getId

String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.