org.jboss.shrinkwrap.descriptor.api.jboss51
Interface AssemblyDescriptorType<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
AssemblyDescriptorTypeImpl

public interface AssemblyDescriptorType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>

This interface defines the contract for the assembly-descriptorType xsd type

Original Documentation:

The assembly-descriptor element contains application-assembly information.
The definition of security roles allows you to map assembly roles to one or more principals.
For example, you may define a run-as principal in the security-identity element and include
that principal in one or more security-role(s) in the assembly descriptor. When called with
a run-as role, the callee will see all those roles in ctx.isCallerInRole(...) Used in: jboss

Since:
Generation date :2011-07-19T22:54:35.59+02:00
Author:
Ralf Battenfeld

Method Summary
 java.util.List<MessageDestinationType<AssemblyDescriptorType<T>>> getMessageDestinationList()
          Returns all message-destination elements
 java.util.List<SecurityRoleType<AssemblyDescriptorType<T>>> getSecurityRoleList()
          Returns all security-role elements
 MessageDestinationType<AssemblyDescriptorType<T>> messageDestination()
          Returns the message-destination element
 AssemblyDescriptorType<T> removeAllMessageDestination()
          Removes all message-destination elements
 AssemblyDescriptorType<T> removeAllSecurityRole()
          Removes all security-role elements
 SecurityRoleType<AssemblyDescriptorType<T>> securityRole()
          Returns the security-role element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

removeAllSecurityRole

AssemblyDescriptorType<T> removeAllSecurityRole()
Removes all security-role elements

Returns:
the current instance of AssemblyDescriptorType

securityRole

SecurityRoleType<AssemblyDescriptorType<T>> securityRole()
Returns the security-role element

Returns:
the node defined for the element security-role

getSecurityRoleList

java.util.List<SecurityRoleType<AssemblyDescriptorType<T>>> getSecurityRoleList()
Returns all security-role elements

Returns:
list of security-role

removeAllMessageDestination

AssemblyDescriptorType<T> removeAllMessageDestination()
Removes all message-destination elements

Returns:
the current instance of AssemblyDescriptorType

messageDestination

MessageDestinationType<AssemblyDescriptorType<T>> messageDestination()
Returns the message-destination element

Returns:
the node defined for the element message-destination

getMessageDestinationList

java.util.List<MessageDestinationType<AssemblyDescriptorType<T>>> getMessageDestinationList()
Returns all message-destination elements

Returns:
list of message-destination