|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.AssemblyDescriptorType
public class 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>
| Field Summary | |
|---|---|
protected ApplicationExceptionType[] |
applicationException
|
protected ContainerTransactionType[] |
containerTransaction
|
protected ExcludeListType |
excludeList
|
protected String |
id
|
protected InterceptorBindingType[] |
interceptorBinding
|
protected MessageDestinationType[] |
messageDestination
|
protected MethodPermissionType[] |
methodPermission
|
protected SecurityRoleType[] |
securityRole
|
| Constructor Summary | |
|---|---|
AssemblyDescriptorType()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.AssemblyDescriptorType instance. |
|
AssemblyDescriptorType(AssemblyDescriptorType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.AssemblyDescriptorType instance by copying a given instance. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SecurityRoleType[] securityRole
protected MethodPermissionType[] methodPermission
protected ContainerTransactionType[] containerTransaction
protected InterceptorBindingType[] interceptorBinding
protected MessageDestinationType[] messageDestination
protected ExcludeListType excludeList
protected ApplicationExceptionType[] applicationException
protected String id
| Constructor Detail |
|---|
public AssemblyDescriptorType()
net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.AssemblyDescriptorType instance.
public AssemblyDescriptorType(AssemblyDescriptorType o)
net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.AssemblyDescriptorType instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public SecurityRoleType[] getSecurityRole()
SecurityRoleTypepublic SecurityRoleType getSecurityRole(int idx)
SecurityRoleTypepublic int getSecurityRoleLength()
public void setSecurityRole(SecurityRoleType[] values)
values - allowed objects are
SecurityRoleType
public SecurityRoleType setSecurityRole(int idx,
SecurityRoleType value)
value - allowed object is
SecurityRoleTypepublic MethodPermissionType[] getMethodPermission()
MethodPermissionTypepublic MethodPermissionType getMethodPermission(int idx)
MethodPermissionTypepublic int getMethodPermissionLength()
public void setMethodPermission(MethodPermissionType[] values)
values - allowed objects are
MethodPermissionType
public MethodPermissionType setMethodPermission(int idx,
MethodPermissionType value)
value - allowed object is
MethodPermissionTypepublic ContainerTransactionType[] getContainerTransaction()
ContainerTransactionTypepublic ContainerTransactionType getContainerTransaction(int idx)
ContainerTransactionTypepublic int getContainerTransactionLength()
public void setContainerTransaction(ContainerTransactionType[] values)
values - allowed objects are
ContainerTransactionType
public ContainerTransactionType setContainerTransaction(int idx,
ContainerTransactionType value)
value - allowed object is
ContainerTransactionTypepublic InterceptorBindingType[] getInterceptorBinding()
InterceptorBindingTypepublic InterceptorBindingType getInterceptorBinding(int idx)
InterceptorBindingTypepublic int getInterceptorBindingLength()
public void setInterceptorBinding(InterceptorBindingType[] values)
values - allowed objects are
InterceptorBindingType
public InterceptorBindingType setInterceptorBinding(int idx,
InterceptorBindingType value)
value - allowed object is
InterceptorBindingTypepublic MessageDestinationType[] getMessageDestination()
MessageDestinationTypepublic MessageDestinationType getMessageDestination(int idx)
MessageDestinationTypepublic int getMessageDestinationLength()
public void setMessageDestination(MessageDestinationType[] values)
values - allowed objects are
MessageDestinationType
public MessageDestinationType setMessageDestination(int idx,
MessageDestinationType value)
value - allowed object is
MessageDestinationTypepublic ExcludeListType getExcludeList()
ExcludeListTypepublic void setExcludeList(ExcludeListType value)
value - allowed object is
ExcludeListTypepublic ApplicationExceptionType[] getApplicationException()
ApplicationExceptionTypepublic ApplicationExceptionType getApplicationException(int idx)
ApplicationExceptionTypepublic int getApplicationExceptionLength()
public void setApplicationException(ApplicationExceptionType[] values)
values - allowed objects are
ApplicationExceptionType
public ApplicationExceptionType setApplicationException(int idx,
ApplicationExceptionType value)
value - allowed object is
ApplicationExceptionTypepublic String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringprotected void copySecurityRole(SecurityRoleType[] source)
SecurityRole.
source - The source to copy from.
NullPointerException - if source is null.protected void copyMethodPermission(MethodPermissionType[] source)
MethodPermission.
source - The source to copy from.
NullPointerException - if source is null.protected void copyContainerTransaction(ContainerTransactionType[] source)
ContainerTransaction.
source - The source to copy from.
NullPointerException - if source is null.protected void copyInterceptorBinding(InterceptorBindingType[] source)
InterceptorBinding.
source - The source to copy from.
NullPointerException - if source is null.protected void copyMessageDestination(MessageDestinationType[] source)
MessageDestination.
source - The source to copy from.
NullPointerException - if source is null.protected void copyApplicationException(ApplicationExceptionType[] source)
ApplicationException.
source - The source to copy from.
NullPointerException - if source is null.public AssemblyDescriptorType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||