public class InMemoryDataProvider
extends java.lang.Object
implements com.sap.conn.jco.ext.DestinationDataProvider, com.sap.conn.jco.ext.ServerDataProvider
com.sap.conn.jco.ext.DestinationDataProvider
and
com.sap.conn.jco.ext.ServerDataProvider
that allows us to explicitly configure
destinations in adapter configuration rather than separate configuration
property files.JCO_ALIAS_USER, JCO_ASHOST, JCO_AUTH_TYPE, JCO_AUTH_TYPE_CONFIGURED_USER, JCO_AUTH_TYPE_CURRENT_USER, JCO_CLIENT, JCO_CODEPAGE, JCO_CPIC_TRACE, JCO_DELTA, JCO_DENY_INITIAL_PASSWORD, JCO_DEST, JCO_EXPIRATION_PERIOD, JCO_EXPIRATION_TIME, JCO_EXTID_DATA, JCO_EXTID_TYPE, JCO_GETSSO2, JCO_GROUP, JCO_GWHOST, JCO_GWSERV, JCO_LANG, JCO_LCHECK, JCO_MAX_GET_TIME, JCO_MSHOST, JCO_MSSERV, JCO_MYSAPSSO2, JCO_PASSWD, JCO_PCS, JCO_PEAK_LIMIT, JCO_POOL_CAPACITY, JCO_R3NAME, JCO_REPOSITORY_DEST, JCO_REPOSITORY_PASSWD, JCO_REPOSITORY_ROUNDTRIP_OPTIMIZATION, JCO_REPOSITORY_SNC, JCO_REPOSITORY_USER, JCO_SAPROUTER, JCO_SNC_LIBRARY, JCO_SNC_MODE, JCO_SNC_MYNAME, JCO_SNC_PARTNERNAME, JCO_SNC_QOP, JCO_SNC_SSO, JCO_SYSNR, JCO_TPHOST, JCO_TPNAME, JCO_TRACE, JCO_TYPE, JCO_USE_SAPGUI, JCO_USER, JCO_USER_ID, JCO_X509CERT
JCO_CONNECTION_COUNT, JCO_GWHOST, JCO_GWSERV, JCO_MAX_STARTUP_DELAY, JCO_PROGID, JCO_REP_DEST, JCO_REP_MAP, JCO_SAPROUTER, JCO_SNC_LIBRARY, JCO_SNC_MODE, JCO_SNC_MYNAME, JCO_SNC_QOP, JCO_TRACE, JCO_WORKER_THREAD_COUNT, JCO_WORKER_THREAD_MIN_COUNT
Modifier and Type | Method and Description |
---|---|
void |
addClient(java.lang.String key,
com.adaptris.util.KeyValuePairSet kvps) |
void |
addClient(java.lang.String key,
java.util.Properties p) |
void |
addServer(java.lang.String key,
com.adaptris.util.KeyValuePairSet kvps) |
void |
addServer(java.lang.String key,
java.util.Properties p) |
java.util.Properties |
getDestinationProperties(java.lang.String key) |
static InMemoryDataProvider |
getInstance() |
java.util.Properties |
getServerProperties(java.lang.String key) |
void |
removeClient(java.lang.String key) |
void |
removeServer(java.lang.String key) |
void |
setDestinationDataEventListener(com.sap.conn.jco.ext.DestinationDataEventListener eventListener) |
void |
setServerDataEventListener(com.sap.conn.jco.ext.ServerDataEventListener eventListener) |
boolean |
supportsEvents() |
public static final InMemoryDataProvider getInstance()
public void addServer(java.lang.String key, com.adaptris.util.KeyValuePairSet kvps)
public void addServer(java.lang.String key, java.util.Properties p)
public void removeServer(java.lang.String key)
public void addClient(java.lang.String key, com.adaptris.util.KeyValuePairSet kvps)
public void addClient(java.lang.String key, java.util.Properties p)
public void removeClient(java.lang.String key)
public java.util.Properties getDestinationProperties(java.lang.String key)
getDestinationProperties
in interface com.sap.conn.jco.ext.DestinationDataProvider
public void setDestinationDataEventListener(com.sap.conn.jco.ext.DestinationDataEventListener eventListener)
setDestinationDataEventListener
in interface com.sap.conn.jco.ext.DestinationDataProvider
public boolean supportsEvents()
supportsEvents
in interface com.sap.conn.jco.ext.DestinationDataProvider
supportsEvents
in interface com.sap.conn.jco.ext.ServerDataProvider
public java.util.Properties getServerProperties(java.lang.String key)
getServerProperties
in interface com.sap.conn.jco.ext.ServerDataProvider
public void setServerDataEventListener(com.sap.conn.jco.ext.ServerDataEventListener eventListener)
setServerDataEventListener
in interface com.sap.conn.jco.ext.ServerDataProvider
Copyright Adaptris