📄 invokeenv.java
字号:
/*
* Created on 2007-3-28
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.nari.pmos.proxy.common;
/**
* @author hujun
*
* 初始化EJB调用上下文环境
*/
public class InvokeEnv {
private String srvName = "";
private String initCtxFactory = "";
private String providerURL = "";
private String accessMode = "reference";
private String jndiPrefix = "";
private String jndiPostfix = "";
private String checkLevel = "0";
private String contextPath = ""; // add 2007-04-21
private String dataSource = "java:comp/env/jdbc/pmosDB";
/**
* @return Returns the dataSource.
*/
public String getDataSource() {
return dataSource;
}
/**
* @param dataSource
* The dataSource to set.
*/
public void setDataSource(String dataSource) {
this.dataSource = dataSource;
}
/**
*
*/
public InvokeEnv() {
super();
}
/**
* @return Returns the accessMode.
*/
public String getAccessMode() {
return accessMode;
}
/**
* @param accessMode
* The accessMode to set.
*/
public void setAccessMode(String accessMode) {
this.accessMode = accessMode;
}
/**
* @return Returns the initCtxFactory.
*/
public String getInitCtxFactory() {
return initCtxFactory;
}
/**
* @param initCtxFactory
* The initCtxFactory to set.
*/
public void setInitCtxFactory(String initCtxFactory) {
this.initCtxFactory = initCtxFactory;
}
/**
* @return Returns the jndiPostfix.
*/
public String getJndiPostfix() {
return jndiPostfix;
}
/**
* @param jndiPostfix
* The jndiPostfix to set.
*/
public void setJndiPostfix(String jndiPostfix) {
this.jndiPostfix = jndiPostfix;
}
/**
* @return Returns the jndiPrefix.
*/
public String getJndiPrefix() {
return jndiPrefix;
}
/**
* @param jndiPrefix
* The jndiPrefix to set.
*/
public void setJndiPrefix(String jndiPrefix) {
this.jndiPrefix = jndiPrefix;
}
/**
* @return Returns the providerURL.
*/
public String getProviderURL() {
return providerURL;
}
/**
* @param providerURL
* The providerURL to set.
*/
public void setProviderURL(String providerURL) {
this.providerURL = providerURL;
}
/**
* @return Returns the srvName.
*/
public String getSrvName() {
return srvName;
}
/**
* @param srvName
* The srvName to set.
*/
public void setSrvName(String srvName) {
this.srvName = srvName;
}
/**
* @return Returns the checkLevel.
*/
public String getCheckLevel() {
return checkLevel;
}
/**
* @param checkLevel
* The checkLevel to set.
*/
public void setCheckLevel(String checkLevel) {
this.checkLevel = checkLevel;
}
public String getContextPath() {
return contextPath;
}
public void setContextPath(String contextPath) {
this.contextPath = contextPath;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -