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:
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
 String getClusterHomeDistributor()
          Gets the cluster-home-distributor
 String getClusterRemoteDistributor()
          Gets the cluster-remote-distributor
 String getClusterReplicated()
          Gets the cluster-replicated
 String getEjbName()
           
 IorSecurityConfigMapping getIorSecurityConfig()
           
 String getJndiLocalName()
          Gets the jndi-local-name
 String getJndiName()
          Gets the jndi-name
 String getMaxCacheSize()
          Gets the max-cache-size
 String getMinPoolSize()
          Gets the min-pool-size
 String getRunAsPrincipalName()
           
 void setClusterHomeDistributor(String clusterHomeDistributor)
          Set the cluster-home-distributor
 void setClusterRemoteDistributor(String clusterRemoteDistributor)
          Set the cluster-remote-distributor
 void setClusterReplicated(String clusterReplicated)
          Set the cluster-replicated
 void setEjbName(String ejbName)
          Set the ejb-name
 void setIorSecurityConfig(IorSecurityConfigMapping iorSecurityConfig)
           
 void setJndiLocalName(String jndiLocalName)
          Set the jndi-local-name
 void setJndiName(String jndiName)
          Set the jndi-name
 void setMaxCacheSize(String maxCacheSize)
          Set the max-cache-size
 void setMinPoolSize(String minPoolSize)
          Set the min-pool-size
 void setRunAsPrincipalName(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 String getEjbName()
Specified by:
getEjbName in interface JonasCommonEjbXml
Returns:
ejb-name element

setEjbName

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

Parameters:
ejbName - ejbName

getJndiName

public String getJndiName()
Gets the jndi-name

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

setJndiName

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

Parameters:
jndiName - jndiName

getJndiLocalName

public String getJndiLocalName()
Gets the jndi-local-name

Returns:
the jndi-local-name

setJndiLocalName

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

Parameters:
jndiLocalName - jndi-local-name

getMaxCacheSize

public String getMaxCacheSize()
Gets the max-cache-size

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

setMaxCacheSize

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

Parameters:
maxCacheSize - maxCacheSize

getMinPoolSize

public String getMinPoolSize()
Gets the min-pool-size

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

setMinPoolSize

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

Parameters:
minPoolSize - minPoolSize

getRunAsPrincipalName

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

setRunAsPrincipalName

public void setRunAsPrincipalName(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 String getClusterHomeDistributor()
Gets the cluster-home-distributor

Returns:
the cluster-home-distributor

setClusterHomeDistributor

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

Parameters:
clusterHomeDistributor - clusterHomeDistributor

getClusterRemoteDistributor

public String getClusterRemoteDistributor()
Gets the cluster-remote-distributor

Returns:
the cluster-remote-distributor

setClusterRemoteDistributor

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

Parameters:
clusterRemoteDistributor - clusterRemoteDistributor

getClusterReplicated

public String getClusterReplicated()
Gets the cluster-replicated

Returns:
the cluster-replicated

setClusterReplicated

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

Parameters:
clusterReplicated - clusterReplicated


Copyright © 2007 OW2 Consortium. All Rights Reserved.