📄 soapconfig.java
字号:
// ----------------------------------------------------------------------------
// $Source: /cvs/vas2006/webpro2/webpro_java/src/com/onewaveinc/portalman/webpro/soap/SOAPConfig.java,v $
// ----------------------------------------------------------------------------
// Copyright (c) 2002 by Onewave Inc.
// ----------------------------------------------------------------------------
// $Id: SOAPConfig.java,v 1.1.1.1 2006/08/01 05:49:34 zhengx Exp $
// ----------------------------------------------------------------------------
// $Log: SOAPConfig.java,v $
// Revision 1.1.1.1 2006/08/01 05:49:34 zhengx
// no message
//
// Revision 1.1 2006/06/02 03:33:17 wuyan
// *** empty log message ***
//
// Revision 1.1 2005/12/08 10:37:59 like
// no message
//
// Revision 1.1 2003/07/28 06:30:16 zengc
// no message
//
// Revision 1.2 2002/09/11 11:47:21 zengc
// WebPro JavaClient V1.3
//
// Revision 1.1 2002/09/02 09:37:05 zengc
// <No Comment Entered>
//
// ----------------------------------------------------------------------------
package com.onewaveinc.portalman.webpro.soap;
/**
* <p>Title: PortalMAN SDK API Documentation</p>
* <p>Description: OneWave Technologies., Inc. PortalMAN Value-add Management Platform 3rd Software Development Kit</p>
* <p>Copyright: Copyright (c) 2002 </p>
* <p>Company: OneWave Technologies., Inc.</p>
* @author 3rd AAA & ICP Integration Developement Team
* @version 1.5
*/
import java.util.*;
import com.onewaveinc.portalman.webpro.*;
public class SOAPConfig {
private String urn ;
private String routerURL;
private Vector allConfigs = new Vector();
private int currentIndex = -2;
public SOAPConfig(Vector para) {
for(int i=0; i<para.size(); i++){
Properties p = (Properties) para.elementAt(i);
if(p != null){
SOAPConfig config = new SOAPConfig();
config.urn = p.getProperty("TargetObjectURI");
config.routerURL = p.getProperty("RouterURL");
allConfigs.addElement(config);
WebProManager.debug("Add SOAPConfig " + i + ": RouterURL=" + config.routerURL + " , TargetObjectURI=" + config.urn);
}
}
if(allConfigs.size() > 0){
this.currentIndex = -1;
}
}
private SOAPConfig(){
}
public String getUrn() {
SOAPConfig config = (SOAPConfig) allConfigs.elementAt(this.currentIndex);
return config.urn;
}
public String getRouterURL() {
SOAPConfig config = (SOAPConfig) allConfigs.elementAt(this.currentIndex);
return config.routerURL;
}
public boolean getNextConfig(){
this.currentIndex ++;
if(this.currentIndex < 0 | this.currentIndex >= allConfigs.size()){
return false;
}else{
return true;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -