/** * 通联支付-研发中心 * @author zhanggh * 2014-6-30 * version 1.0 * 说明: */ package com.mtools.core.plugin.properties; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import com.mtools.core.plugin.BasePlugin; /** * 功能: * * @date 2014-6-30 */ @Component("coreParams") public class CoreParams { @Value("${reloadIndex}") public String reloadIndex; @Value("${staticFile}") public String staticFile; @Value("${solrUrl}") public String solrUrl; @Value("${ssl}") public String ssl; @Value("${tranxUri}") public String tranxUri; @Value("${tranxUrl}") public String tranxUrl; @Value("${db1.isOrcl}") public String isOrcl; @Value("${serverName}") public String serverName; @Value("${authIp}") public String authIp; @Value("${indexpth}") public String indexpth; @Value("${fileContxtPth}") public String fileContxtPth; @Value("${tomcatEncode}") public String tomcatEncode; @Value("${isTest}") public boolean isTest; public String getAuthIp() { return authIp; } public void setAuthIp(String authIp) { this.authIp = authIp; } /** * @return the serverName */ public String getServerName() { return serverName; } /** * @param serverName the serverName to set */ public void setServerName(String serverName) { this.serverName = serverName; } /** * @return the indexpth */ public String getIndexpth() { return indexpth; } /** * @param indexpth the indexpth to set */ public void setIndexpth(String indexpth) { this.indexpth = indexpth; } /** * @return the isOrcl */ public boolean getIsOrcl() { return Boolean.parseBoolean(isOrcl); } /** * @param isOrcl the isOrcl to set */ public void setIsOrcl(String isOrcl) { this.isOrcl = isOrcl; } public String getTranxUrl() { return tranxUrl; } public void setTranxUrl(String tranxUrl) { this.tranxUrl = tranxUrl; } public String getTranxUri() { return tranxUri; } public void setTranxUri(String tranxUri) { this.tranxUri = tranxUri; } public String getSolrUrl() { return solrUrl; } public void setSolrUrl(String solrUrl) { this.solrUrl = solrUrl; } public String getSsl() { return ssl; } public void setSsl(String ssl) { this.ssl = ssl; } /** * @return the staticFile */ public String getStaticFile() { return staticFile; } /** * @param staticFile * the staticFile to set */ public void setStaticFile(String staticFile) { this.staticFile = staticFile; } /** * @return the reloadIndex */ public String getReloadIndex() { return reloadIndex; } /** * @param reloadIndex * the reloadIndex to set */ public void setReloadIndex(String reloadIndex) { this.reloadIndex = reloadIndex; } public String getFileContxtPth() { return fileContxtPth; } public void setFileContxtPth(String fileContxtPth) { this.fileContxtPth = fileContxtPth; } public String getTomcatEncode() { return tomcatEncode; } public void setTomcatEncode(String tomcatEncode) { this.tomcatEncode = tomcatEncode; } public boolean getIsTest() { return isTest; } public void setIsTest(boolean isTest) { this.isTest = isTest; } }