org.objectweb.jonas_ejb.deployment.xml
Class JonasCommonEjb

java.lang.Object
  extended byorg.objectweb.jonas_lib.deployment.xml.AbsElement
      extended byorg.objectweb.jonas_lib.deployment.xml.AbsJonasEnvironmentElement
          extended byorg.objectweb.jonas_ejb.deployment.xml.JonasCommonEjb
All Implemented Interfaces:
Element, JonasCommonEjbXml, JonasJndiEnvRefsGroupXml, java.io.Serializable
Direct Known Subclasses:
JonasEntity, JonasMessageDriven, JonasSession

public abstract class JonasCommonEjb
extends AbsJonasEnvironmentElement
implements JonasCommonEjbXml

This interface provides to the value of Xml elements common for jonas-session/jonas-entity/jonas-mdb

Author:
Philippe Coq
See Also:
Serialized Form

Constructor Summary
JonasCommonEjb()
           
 
Method Summary
 java.lang.String getEjbName()
           
 java.lang.String getJndiLocalName()
          Gets the jndi-local-name
 java.lang.String getJndiName()
          Gets the jndi-name
 java.lang.String getMaxCacheSize()
          Gets the max-cache-size
 java.lang.String getMinPoolSize()
          Gets the min-pool-size
 void setEjbName(java.lang.String ejbName)
          Set the ejb-name
 void setJndiLocalName(java.lang.String jndiLocalName)
          Set the jndi-local-name
 void setJndiName(java.lang.String jndiName)
          Set the jndi-name
 void setMaxCacheSize(java.lang.String maxCacheSize)
          Set the max-cache-size
 void setMinPoolSize(java.lang.String minPoolSize)
          Set the min-pool-size
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsJonasEnvironmentElement
addJonasEjbRef, addJonasResource, addJonasResourceEnv, addJonasServiceRef, getJonasEjbRefList, getJonasResourceEnvList, getJonasResourceList, getJonasServiceRefList
 
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.JonasJndiEnvRefsGroupXml
getJonasEjbRefList, getJonasResourceEnvList, getJonasResourceList, getJonasServiceRefList
 

Constructor Detail

JonasCommonEjb

public JonasCommonEjb()
Method Detail

getEjbName

public java.lang.String getEjbName()
Specified by:
getEjbName in interface JonasCommonEjbXml
Returns:
ejb-name element

setEjbName

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

Parameters:
ejbName - ejbName

getJndiName

public java.lang.String getJndiName()
Gets the jndi-name

Specified by:
getJndiName in interface JonasCommonEjbXml
Returns:
the jndi-name

setJndiName

public void setJndiName(java.lang.String jndiName)
Set the jndi-name

Parameters:
jndiName - jndiName

getJndiLocalName

public java.lang.String getJndiLocalName()
Gets the jndi-local-name

Returns:
the jndi-local-name

setJndiLocalName

public void setJndiLocalName(java.lang.String jndiLocalName)
Set the jndi-local-name


getMaxCacheSize

public java.lang.String getMaxCacheSize()
Gets the max-cache-size

Specified by:
getMaxCacheSize in interface JonasCommonEjbXml
Returns:
the max-cache-size

setMaxCacheSize

public void setMaxCacheSize(java.lang.String maxCacheSize)
Set the max-cache-size

Parameters:
maxCacheSize - maxCacheSize

getMinPoolSize

public java.lang.String getMinPoolSize()
Gets the min-pool-size

Specified by:
getMinPoolSize in interface JonasCommonEjbXml
Returns:
the min-pool-size

setMinPoolSize

public void setMinPoolSize(java.lang.String minPoolSize)
Set the min-pool-size

Parameters:
minPoolSize - minPoolSize