org.ow2.jonas.deployment.ejb.xml
Class AssemblyDescriptor

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.ejb.xml.AssemblyDescriptor
All Implemented Interfaces:
Serializable, Element

public class AssemblyDescriptor
extends AbsElement

This class defines the implementation of the element assembly-descriptor

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
AssemblyDescriptor()
          Constructor
 
Method Summary
 void addContainerTransaction(ContainerTransaction containerTransaction)
          Add a new container-transaction element to this object
 void addMessageDestination(MessageDestination messageDestination)
          Add a new message-destination element to this object
 void addMethodPermission(MethodPermission methodPermission)
          Add a new method-permission element to this object
 void addSecurityRole(SecurityRole securityRole)
          Add a new security-role element to this object
 JLinkedList getContainerTransactionList()
          Gets the container-transaction
 ExcludeList getExcludeList()
          Gets the exclude-list
 JLinkedList getMessageDestinationList()
          Gets the message-destination
 JLinkedList getMethodPermissionList()
          Gets the method-permission
 JLinkedList getSecurityRoleList()
          Gets the security-role
 void setContainerTransactionList(JLinkedList containerTransactionList)
          Set the container-transaction
 void setExcludeList(ExcludeList excludeList)
          Set the exclude-list
 void setMessageDestinationList(JLinkedList messageDestinationList)
          Set the message-destination
 void setMethodPermissionList(JLinkedList methodPermissionList)
          Set the method-permission
 void setSecurityRoleList(JLinkedList securityRoleList)
          Set the security-role
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssemblyDescriptor

public AssemblyDescriptor()
Constructor

Method Detail

getSecurityRoleList

public JLinkedList getSecurityRoleList()
Gets the security-role

Returns:
the security-role

setSecurityRoleList

public void setSecurityRoleList(JLinkedList securityRoleList)
Set the security-role

Parameters:
securityRoleList - securityRole

addSecurityRole

public void addSecurityRole(SecurityRole securityRole)
Add a new security-role element to this object

Parameters:
securityRole - the securityRoleobject

getMethodPermissionList

public JLinkedList getMethodPermissionList()
Gets the method-permission

Returns:
the method-permission

setMethodPermissionList

public void setMethodPermissionList(JLinkedList methodPermissionList)
Set the method-permission

Parameters:
methodPermissionList - methodPermission

addMethodPermission

public void addMethodPermission(MethodPermission methodPermission)
Add a new method-permission element to this object

Parameters:
methodPermission - the methodPermissionobject

getContainerTransactionList

public JLinkedList getContainerTransactionList()
Gets the container-transaction

Returns:
the container-transaction

setContainerTransactionList

public void setContainerTransactionList(JLinkedList containerTransactionList)
Set the container-transaction

Parameters:
containerTransactionList - containerTransaction

addContainerTransaction

public void addContainerTransaction(ContainerTransaction containerTransaction)
Add a new container-transaction element to this object

Parameters:
containerTransaction - the containerTransactionobject

getMessageDestinationList

public JLinkedList getMessageDestinationList()
Gets the message-destination

Returns:
the message-destination

setMessageDestinationList

public void setMessageDestinationList(JLinkedList messageDestinationList)
Set the message-destination

Parameters:
messageDestinationList - messageDestination

addMessageDestination

public void addMessageDestination(MessageDestination messageDestination)
Add a new message-destination element to this object

Parameters:
messageDestination - the messageDestinationobject

getExcludeList

public ExcludeList getExcludeList()
Gets the exclude-list

Returns:
the exclude-list

setExcludeList

public void setExcludeList(ExcludeList excludeList)
Set the exclude-list

Parameters:
excludeList - excludeList

toXML

public String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.


Copyright © 2010 OW2 Consortium. All Rights Reserved.