
org.objectweb.jonas_ejb.deployment.xml.JonasCommonEjb Maven / Gradle / Ivy
The newest version!
/**
* JOnAS: Java(TM) Open Application Server
* Copyright (C) 1999 Bull S.A.
* Contact: [email protected]
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
* Initial developer(s): Philippe Coq
* --------------------------------------------------------------------------
* $Id: JonasCommonEjb.java 10290 2007-04-25 16:11:47Z durieuxp $
* --------------------------------------------------------------------------
*/
package org.objectweb.jonas_ejb.deployment.xml;
import org.objectweb.jonas_lib.deployment.xml.AbsJonasEnvironmentElement;
/**
* This interface provides to the value of Xml elements common
* for jonas-session/jonas-entity/jonas-mdb
* @author Philippe Coq
*/
public abstract class JonasCommonEjb extends AbsJonasEnvironmentElement implements JonasCommonEjbXml {
/**
* ejb-name
*/
private String ejbName = null;
/**
* jndi-name
*/
private String jndiName = null;
/**
* jndi-local-name
*/
private String jndiLocalName = null;
/**
* max-cache-size
*/
private String maxCacheSize = null;
/**
* min-pool-size
*/
private String minPoolSize = null;
/**
* principal name to use in case of run-as
*/
private String runAsPrincipalName = null;
/**
* ior security config
*/
private IorSecurityConfigMapping iorSecurityConfig = null;
/**
* cluster-home-distributor
*/
private String clusterHomeDistributor = null;
/**
* cluster-remote-distributor
*/
private String clusterRemoteDistributor = null;
/**
* cluster-replicated
*/
private String clusterReplicated = null;
/**
* @return ejb-name element
*/
public String getEjbName() {
return ejbName;
}
/**
* Set the ejb-name
* @param ejbName ejbName
*/
public void setEjbName(String ejbName) {
this.ejbName = ejbName;
}
/**
* Gets the jndi-name
* @return the jndi-name
*/
public String getJndiName() {
return jndiName;
}
/**
* Set the jndi-name
* @param jndiName jndiName
*/
public void setJndiName(String jndiName) {
this.jndiName = jndiName;
}
/**
* Gets the jndi-local-name
* @return the jndi-local-name
*/
public String getJndiLocalName() {
return jndiLocalName;
}
/**
* Set the jndi-local-name
* @param jndiLocalName jndi-local-name
*/
public void setJndiLocalName(String jndiLocalName) {
this.jndiLocalName = jndiLocalName;
}
/**
* Gets the max-cache-size
* @return the max-cache-size
*/
public String getMaxCacheSize() {
return maxCacheSize;
}
/**
* Set the max-cache-size
* @param maxCacheSize maxCacheSize
*/
public void setMaxCacheSize(String maxCacheSize) {
this.maxCacheSize = maxCacheSize;
}
/**
* Gets the min-pool-size
* @return the min-pool-size
*/
public String getMinPoolSize() {
return minPoolSize;
}
/**
* Set the min-pool-size
* @param minPoolSize minPoolSize
*/
public void setMinPoolSize(String minPoolSize) {
this.minPoolSize = minPoolSize;
}
/**
* @return the runAs Principal name.
*/
public String getRunAsPrincipalName() {
return runAsPrincipalName;
}
/**
* @param runAsPrincipalName the principal-name to set for run-as
*/
public void setRunAsPrincipalName(String runAsPrincipalName) {
this.runAsPrincipalName = runAsPrincipalName;
}
/**
* @return Returns the iorSecurityConfig.
*/
public IorSecurityConfigMapping getIorSecurityConfig() {
return iorSecurityConfig;
}
/**
* @param iorSecurityConfig The iorSecurityConfig to set.
*/
public void setIorSecurityConfig(IorSecurityConfigMapping iorSecurityConfig) {
this.iorSecurityConfig = iorSecurityConfig;
}
/**
* Gets the cluster-home-distributor
* @return the cluster-home-distributor
*/
public String getClusterHomeDistributor() {
return clusterHomeDistributor;
}
/**
* Set the cluster-home-distributor
* @param clusterHomeDistributor clusterHomeDistributor
*/
public void setClusterHomeDistributor(String clusterHomeDistributor) {
this.clusterHomeDistributor = clusterHomeDistributor;
}
/**
* Gets the cluster-remote-distributor
* @return the cluster-remote-distributor
*/
public String getClusterRemoteDistributor() {
return clusterRemoteDistributor;
}
/**
* Set the cluster-remote-distributor
* @param clusterRemoteDistributor clusterRemoteDistributor
*/
public void setClusterRemoteDistributor(String clusterRemoteDistributor) {
this.clusterRemoteDistributor = clusterRemoteDistributor;
}
/**
* Gets the cluster-replicated
* @return the cluster-replicated
*/
public String getClusterReplicated() {
return clusterReplicated;
}
/**
* Set the cluster-replicated
* @param clusterReplicated clusterReplicated
*/
public void setClusterReplicated(String clusterReplicated) {
this.clusterReplicated = clusterReplicated;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy