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

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

public class EnterpriseBeans
extends AbsElement

This class defines the implementation of the element enterprise-beans

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
EnterpriseBeans()
          Constructor
 
Method Summary
 void addEntity(Entity entity)
          Add a new entity element to this object
 void addMessageDriven(MessageDriven messageDriven)
          Add a new message-driven element to this object
 void addSession(Session session)
          Add a new session element to this object
 JLinkedList getEntityList()
          Gets the entity
 JLinkedList getMessageDrivenList()
          Gets the message-driven
 JLinkedList getSessionList()
          Gets the session
 void setEntityList(JLinkedList entityList)
          Set the entity
 void setMessageDrivenList(JLinkedList messageDrivenList)
          Set the message-driven
 void setSessionList(JLinkedList sessionList)
          Set the session
 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

EnterpriseBeans

public EnterpriseBeans()
Constructor

Method Detail

getSessionList

public JLinkedList getSessionList()
Gets the session

Returns:
the session

setSessionList

public void setSessionList(JLinkedList sessionList)
Set the session

Parameters:
sessionList - session

addSession

public void addSession(Session session)
Add a new session element to this object

Parameters:
session - the sessionobject

getEntityList

public JLinkedList getEntityList()
Gets the entity

Returns:
the entity

setEntityList

public void setEntityList(JLinkedList entityList)
Set the entity

Parameters:
entityList - entity

addEntity

public void addEntity(Entity entity)
Add a new entity element to this object

Parameters:
entity - the entityobject

getMessageDrivenList

public JLinkedList getMessageDrivenList()
Gets the message-driven

Returns:
the message-driven

setMessageDrivenList

public void setMessageDrivenList(JLinkedList messageDrivenList)
Set the message-driven

Parameters:
messageDrivenList - messageDriven

addMessageDriven

public void addMessageDriven(MessageDriven messageDriven)
Add a new message-driven element to this object

Parameters:
messageDriven - the messageDrivenobject

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.