org.objectweb.jonas_ejb.deployment.xml
Class CommonEjb

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement
          extended by org.objectweb.jonas_lib.deployment.xml.AbsEnvironmentElement
              extended by org.objectweb.jonas_ejb.deployment.xml.CommonEjb
All Implemented Interfaces:
java.io.Serializable, CommonEjbXml, DescriptionGroupXml, Element, JndiEnvRefsGroupXml
Direct Known Subclasses:
Entity, MessageDriven, Session

public abstract class CommonEjb
extends AbsEnvironmentElement
implements CommonEjbXml

This class defines the implementation of the element session

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
CommonEjb()
          Constructor
 
Method Summary
 void addSecurityRoleRef(SecurityRoleRef securityRoleRef)
          Add a new security-role-ref element to this object
 java.lang.String getEjbClass()
          Gets the ejb-class
 java.lang.String getEjbName()
          Gets the ejb-name
 java.lang.String getHome()
          Gets the home
 java.lang.String getLocal()
          Gets the local
 java.lang.String getLocalHome()
          Gets the local-home
 java.lang.String getMessagingType()
          Gets the messaging-type
 java.lang.String getRemote()
          Gets the remote
 SecurityIdentity getSecurityIdentity()
          Gets the security-identity
 JLinkedList getSecurityRoleRefList()
          Gets the security-role-ref
 java.lang.String getTransactionType()
          Gets the transaction-type
 void setEjbClass(java.lang.String ejbClass)
          Set the ejb-class
 void setEjbName(java.lang.String ejbName)
          Set the ejb-name
 void setHome(java.lang.String home)
          Set the home
 void setLocal(java.lang.String local)
          Set the local
 void setLocalHome(java.lang.String localHome)
          Set the local-home
 void setMessagingType(java.lang.String messagingType)
          Set the messaging-type
 void setRemote(java.lang.String remote)
          Set the remote
 void setSecurityIdentity(SecurityIdentity securityIdentity)
          Set the security-identity
 void setSecurityRoleRefList(JLinkedList securityRoleRefList)
          Set the security-role-ref
 void setTransactionType(java.lang.String transactionType)
          Set the transaction-type
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsEnvironmentElement
addEjbLocalRef, addEjbRef, addEnvEntry, addMessageDestinationRef, addResourceEnvRef, addResourceRef, addServiceRef, getEjbLocalRefList, getEjbRefList, getEnvEntryList, getMessageDestinationRefList, getResourceEnvRefList, getResourceRefList, getServiceRefList
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement
getDescription, getDisplayName, getIcon, setDescription, setDisplayName, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsElement
indent, toString, toXML, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.objectweb.jonas_lib.deployment.xml.JndiEnvRefsGroupXml
getEjbLocalRefList, getEjbRefList, getEnvEntryList, getMessageDestinationRefList, getResourceEnvRefList, getResourceRefList, getServiceRefList
 
Methods inherited from interface org.objectweb.jonas_lib.deployment.xml.DescriptionGroupXml
getDescription, getDisplayName, getIcon
 

Constructor Detail

CommonEjb

public CommonEjb()
Constructor

Method Detail

getEjbName

public java.lang.String getEjbName()
Gets the ejb-name

Specified by:
getEjbName in interface CommonEjbXml
Returns:
the ejb-name

setEjbName

public void setEjbName(java.lang.String ejbName)
Set the ejb-name

Parameters:
ejbName - ejbName

getHome

public java.lang.String getHome()
Gets the home

Specified by:
getHome in interface CommonEjbXml
Returns:
the home

setHome

public void setHome(java.lang.String home)
Set the home

Parameters:
home - home

getRemote

public java.lang.String getRemote()
Gets the remote

Specified by:
getRemote in interface CommonEjbXml
Returns:
the remote

setRemote

public void setRemote(java.lang.String remote)
Set the remote

Parameters:
remote - remote

getLocalHome

public java.lang.String getLocalHome()
Gets the local-home

Specified by:
getLocalHome in interface CommonEjbXml
Returns:
the local-home

setLocalHome

public void setLocalHome(java.lang.String localHome)
Set the local-home

Parameters:
localHome - localHome

getLocal

public java.lang.String getLocal()
Gets the local

Specified by:
getLocal in interface CommonEjbXml
Returns:
the local

setLocal

public void setLocal(java.lang.String local)
Set the local

Parameters:
local - local

getEjbClass

public java.lang.String getEjbClass()
Gets the ejb-class

Specified by:
getEjbClass in interface CommonEjbXml
Returns:
the ejb-class

setEjbClass

public void setEjbClass(java.lang.String ejbClass)
Set the ejb-class

Parameters:
ejbClass - ejbClass

getMessagingType

public java.lang.String getMessagingType()
Gets the messaging-type

Returns:
the messaging-type

setMessagingType

public void setMessagingType(java.lang.String messagingType)
Set the messaging-type

Parameters:
messagingType - messagingType

getTransactionType

public java.lang.String getTransactionType()
Gets the transaction-type

Returns:
the transaction-type

setTransactionType

public void setTransactionType(java.lang.String transactionType)
Set the transaction-type

Parameters:
transactionType - transactionType

getSecurityRoleRefList

public JLinkedList getSecurityRoleRefList()
Gets the security-role-ref

Specified by:
getSecurityRoleRefList in interface CommonEjbXml
Returns:
the security-role-ref

setSecurityRoleRefList

public void setSecurityRoleRefList(JLinkedList securityRoleRefList)
Set the security-role-ref

Parameters:
securityRoleRefList - securityRoleRef

addSecurityRoleRef

public void addSecurityRoleRef(SecurityRoleRef securityRoleRef)
Add a new security-role-ref element to this object

Parameters:
securityRoleRef - the securityRoleRefobject

getSecurityIdentity

public SecurityIdentity getSecurityIdentity()
Gets the security-identity

Specified by:
getSecurityIdentity in interface CommonEjbXml
Returns:
the security-identity

setSecurityIdentity

public void setSecurityIdentity(SecurityIdentity securityIdentity)
Set the security-identity

Parameters:
securityIdentity - securityIdentity