org.objectweb.jonas_ejb.deployment.xml
Class JonasCommonEjb

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_lib.deployment.xml.AbsJonasEnvironmentElement
          extended by org.objectweb.jonas_ejb.deployment.xml.JonasCommonEjb
All Implemented Interfaces:
java.io.Serializable, JonasCommonEjbXml, Element, JonasJndiEnvRefsGroupXml
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 getClusterHomeDistributor()
          Gets the cluster-home-distributor
 java.lang.String getClusterRemoteDistributor()
          Gets the cluster-remote-distributor
 java.lang.String getClusterReplicated()
          Gets the cluster-replicated
 java.lang.String getEjbName()
           
 IorSecurityConfigMapping getIorSecurityConfig()
           
 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
 java.lang.String getRunAsPrincipalName()
           
 void setClusterHomeDistributor(java.lang.String clusterHomeDistributor)
          Set the cluster-home-distributor
 void setClusterRemoteDistributor(java.lang.String clusterRemoteDistributor)
          Set the cluster-remote-distributor
 void setClusterReplicated(java.lang.String clusterReplicated)
          Set the cluster-replicated
 void setEjbName(java.lang.String ejbName)
          Set the ejb-name
 void setIorSecurityConfig(IorSecurityConfigMapping iorSecurityConfig)
           
 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
 void setRunAsPrincipalName(java.lang.String runAsPrincipalName)
           
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsJonasEnvironmentElement
addJonasEjbRef, addJonasMessageDestinationRef, addJonasResource, addJonasResourceEnv, addJonasServiceRef, getJonasEjbRefList, getJonasMessageDestinationRefList, 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, getJonasMessageDestinationRefList, 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

Parameters:
jndiLocalName - 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

getRunAsPrincipalName

public java.lang.String getRunAsPrincipalName()
Returns:
the runAs Principal name.

setRunAsPrincipalName

public void setRunAsPrincipalName(java.lang.String runAsPrincipalName)
Parameters:
runAsPrincipalName - the principal-name to set for run-as

getIorSecurityConfig

public IorSecurityConfigMapping getIorSecurityConfig()
Returns:
Returns the iorSecurityConfig.

setIorSecurityConfig

public void setIorSecurityConfig(IorSecurityConfigMapping iorSecurityConfig)
Parameters:
iorSecurityConfig - The iorSecurityConfig to set.

getClusterHomeDistributor

public java.lang.String getClusterHomeDistributor()
Gets the cluster-home-distributor

Returns:
the cluster-home-distributor

setClusterHomeDistributor

public void setClusterHomeDistributor(java.lang.String clusterHomeDistributor)
Set the cluster-home-distributor

Parameters:
clusterHomeDistributor - clusterHomeDistributor

getClusterRemoteDistributor

public java.lang.String getClusterRemoteDistributor()
Gets the cluster-remote-distributor

Returns:
the cluster-remote-distributor

setClusterRemoteDistributor

public void setClusterRemoteDistributor(java.lang.String clusterRemoteDistributor)
Set the cluster-remote-distributor

Parameters:
clusterRemoteDistributor - clusterRemoteDistributor

getClusterReplicated

public java.lang.String getClusterReplicated()
Gets the cluster-replicated

Returns:
the cluster-replicated

setClusterReplicated

public void setClusterReplicated(java.lang.String clusterReplicated)
Set the cluster-replicated

Parameters:
clusterReplicated - clusterReplicated