public abstract class SapSystemImpl extends GlobalListItem implements ISapSystem
log
Constructor and Description |
---|
SapSystemImpl() |
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
void |
closeSystem() |
static void |
closeSystems() |
static void |
configureAll() |
String |
getAshost() |
com.sap.conn.jco.JCoDestination |
getDestination() |
String |
getGwhost() |
String |
getGwserv()
String value of sum of gwservOffset and systemnr.
|
com.sap.conn.idoc.IDocRepository |
getIDocRepository() |
com.sap.conn.jco.JCoRepository |
getJcoRepository() |
String |
getLogPrefix() |
String |
getMshost() |
String |
getMsserv()
String value of sum of msservOffset and systemnr.
|
static SapSystemImpl |
getSystem(String name)
Retrieve a SapSystem from the list of systems.
|
void |
openSystem() |
static void |
openSystems() |
void |
registerItem(Object dummyParent)
Register an item in the list
|
void |
setAshost(String ashost)
SAP application server
|
void |
setAuthAlias(String string)
Alias to obtain userid and password
|
void |
setGroup(String group)
Group of SAP application servers, when specified logon group will be used and r3name and mshost need to be specified instead of ashost
|
void |
setGwhost(String string)
Gateway host
|
void |
setGwservOffset(int i)
Number added to systemNr to find corresponding gateway port
|
void |
setHost(String host)
Default value for ashost, gwhost and mshost (i.e.
|
void |
setLanguage(String string)
Language indicator
|
void |
setMandant(String string)
Mandant i.e.
|
void |
setMaxConnections(int i)
Maximum number of connections that may connect simultaneously to the SAP system
|
void |
setMshost(String mshost)
SAP message server
|
void |
setMsservOffset(int i)
Number added to systemNr to find corresponding message server port
|
void |
setMyName(String myName)
Own SNC name of the caller.
|
void |
setPartnerName(String partnerName)
SNC name of the communication partner server.
|
void |
setPasswd(String string)
Passwd used in the connection
|
void |
setR3name(String r3name)
System ID of the SAP system
|
void |
setServiceOffset(int i)
Deprecated.
|
void |
setSncAuthMethod(String sncAuthMethod)
When using SNC, this specifies if SNC should authenticate via SSO or a username/password combination.
|
void |
setSncEnabled(boolean sncEnabled)
Enable or disable SNC
|
void |
setSncLibrary(String sncLibPath)
Path where the SNC library has been installed
|
void |
setSncQop(int qop)
SNC Quality of Protection.
|
void |
setSncSSO2(String sncSSO2)
Use SAP Cookie Version 2 as logon ticket for SSO based authentication
|
void |
setSystemnr(String string)
SAP system nr
|
void |
setTraceLevel(int i)
Trace level (effective only when logging level is debug).
|
void |
setUnicode(boolean b)
If set
true the SAP system is interpreted as Unicode SAP system, otherwise as non-Unicode (only applies to SapListeners, not to SapSenders) |
void |
setUserid(String string)
Userid used in the connection
|
String |
toString() |
configure, getAliasFor, getItem, getName, getRegisteredNames, getRegisteredNamesAsList, setAliasFor, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, setName
public static SapSystemImpl getSystem(String name)
public static void configureAll()
public void openSystem() throws SapException
SapException
public void closeSystem()
public static void openSystems() throws SapException
SapException
public static void closeSystems()
public void registerItem(Object dummyParent)
GlobalListItem
registerItem
in interface ISapSystem
registerItem
in class GlobalListItem
public void clearCache()
public com.sap.conn.jco.JCoDestination getDestination() throws com.sap.conn.jco.JCoException
com.sap.conn.jco.JCoException
public com.sap.conn.jco.JCoRepository getJcoRepository() throws com.sap.conn.jco.JCoException
com.sap.conn.jco.JCoException
public com.sap.conn.idoc.IDocRepository getIDocRepository() throws com.sap.conn.jco.JCoException
com.sap.conn.jco.JCoException
public String getLogPrefix()
public String toString()
toString
in class GlobalListItem
public void setHost(String host)
public void setAshost(String ashost)
public String getAshost()
public void setSystemnr(String string)
public void setGroup(String group)
public void setR3name(String r3name)
public void setMshost(String mshost)
public String getMshost()
public String getMsserv()
public void setMsservOffset(int i)
public void setGwhost(String string)
public String getGwhost()
public String getGwserv()
public void setGwservOffset(int i)
public void setMandant(String string)
public void setAuthAlias(String string)
public void setUserid(String string)
public void setPasswd(String string)
public void setLanguage(String string)
public void setUnicode(boolean b)
true
the SAP system is interpreted as Unicode SAP system, otherwise as non-Unicode (only applies to SapListeners, not to SapSenders)public void setMaxConnections(int i)
public void setTraceLevel(int i)
public void setSncEnabled(boolean sncEnabled)
public void setSncLibrary(String sncLibPath)
public void setSncQop(int qop) throws ConfigurationException
ConfigurationException
public void setMyName(String myName)
public void setPartnerName(String partnerName)
public void setSncAuthMethod(String sncAuthMethod)
public void setSncSSO2(String sncSSO2)
@Deprecated @ConfigurationWarning(value="setServiceOffset not used in JCo3") public void setServiceOffset(int i)
Copyright © 2023 Frank!Framework. All rights reserved.