org.ow2.jonas.deployment.ejb.xml
Class JonasCommonEjb

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.AbsJonasEnvironmentElement
          extended by org.ow2.jonas.deployment.ejb.xml.JonasCommonEjb
All Implemented Interfaces:
Serializable, Element, JonasJndiEnvRefsGroupXml, JonasCommonEjbXml
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
 Object getCluster()
           
 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 setCluster(Object cluster)
           
 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.ow2.jonas.deployment.common.xml.AbsJonasEnvironmentElement
addJonasEjbRef, addJonasMessageDestinationRef, addJonasResource, addJonasResourceEnv, addJonasServiceRef, getJonasEjbRefList, getJonasMessageDestinationRefList, getJonasResourceEnvList, getJonasResourceList, getJonasServiceRefList
 
Methods inherited from class org.ow2.jonas.deployment.common.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.ow2.jonas.deployment.common.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.

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

getCluster

public Object getCluster()
Returns:
the cluster

setCluster

public void setCluster(Object cluster)
Parameters:
cluster - the cluster to set


Copyright © 2010 OW2 Consortium. All Rights Reserved.