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:
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
 String getEjbClass()
          Gets the ejb-class
 String getEjbName()
          Gets the ejb-name
 String getHome()
          Gets the home
 String getLocal()
          Gets the local
 String getLocalHome()
          Gets the local-home
 String getMessagingType()
          Gets the messaging-type
 String getRemote()
          Gets the remote
 SecurityIdentity getSecurityIdentity()
          Gets the security-identity
 JLinkedList getSecurityRoleRefList()
          Gets the security-role-ref
 String getTransactionType()
          Gets the transaction-type
 void setEjbClass(String ejbClass)
          Set the ejb-class
 void setEjbName(String ejbName)
          Set the ejb-name
 void setHome(String home)
          Set the home
 void setLocal(String local)
          Set the local
 void setLocalHome(String localHome)
          Set the local-home
 void setMessagingType(String messagingType)
          Set the messaging-type
 void setRemote(String remote)
          Set the remote
 void setSecurityIdentity(SecurityIdentity securityIdentity)
          Set the security-identity
 void setSecurityRoleRefList(JLinkedList securityRoleRefList)
          Set the security-role-ref
 void setTransactionType(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 String getEjbName()
Gets the ejb-name

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

setEjbName

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

Parameters:
ejbName - ejbName

getHome

public String getHome()
Gets the home

Specified by:
getHome in interface CommonEjbXml
Returns:
the home

setHome

public void setHome(String home)
Set the home

Parameters:
home - home

getRemote

public String getRemote()
Gets the remote

Specified by:
getRemote in interface CommonEjbXml
Returns:
the remote

setRemote

public void setRemote(String remote)
Set the remote

Parameters:
remote - remote

getLocalHome

public String getLocalHome()
Gets the local-home

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

setLocalHome

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

Parameters:
localHome - localHome

getLocal

public String getLocal()
Gets the local

Specified by:
getLocal in interface CommonEjbXml
Returns:
the local

setLocal

public void setLocal(String local)
Set the local

Parameters:
local - local

getEjbClass

public String getEjbClass()
Gets the ejb-class

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

setEjbClass

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

Parameters:
ejbClass - ejbClass

getMessagingType

public String getMessagingType()
Gets the messaging-type

Returns:
the messaging-type

setMessagingType

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

Parameters:
messagingType - messagingType

getTransactionType

public String getTransactionType()
Gets the transaction-type

Returns:
the transaction-type

setTransactionType

public void setTransactionType(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


Copyright © 2007 OW2 Consortium. All Rights Reserved.