Package com.ibm.di.fc.sapr3rfcv3
Class SapClientConnectionDirectImpl
- java.lang.Object
-
- com.ibm.di.fc.sapr3rfcv3.SapClientConnectionDirectImpl
-
public final class SapClientConnectionDirectImpl extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
destinationName
SapDestinationDataProvider
sapDestinationDataProvider
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createDestinationDataFile(java.util.Properties connectionProperties)
static java.lang.String
decrypt(java.lang.String data)
static java.lang.String
encrypt(java.lang.String text)
static java.lang.String
generateDestinationName(java.util.Properties props)
Generates the temp name used for the destination file.java.lang.String
getDestinationName()
java.util.Properties
getJcoProperties()
Retun the local copy of the JCO properties we are to use.com.sap.conn.jco.JCoRepository
getRfcRepository()
int
maxRetries()
Get the number of retries to be attempted.void
setup()
void
terminate()
void
unregister()
-
-
-
Field Detail
-
sapDestinationDataProvider
public SapDestinationDataProvider sapDestinationDataProvider
-
destinationName
public java.lang.String destinationName
-
-
Method Detail
-
getDestinationName
public java.lang.String getDestinationName()
-
createDestinationDataFile
public void createDestinationDataFile(java.util.Properties connectionProperties)
-
encrypt
public static java.lang.String encrypt(java.lang.String text) throws java.security.GeneralSecurityException, java.io.IOException
- Throws:
java.security.GeneralSecurityException
java.io.IOException
-
decrypt
public static java.lang.String decrypt(java.lang.String data) throws java.security.GeneralSecurityException, java.io.IOException
- Throws:
java.security.GeneralSecurityException
java.io.IOException
-
setup
public void setup() throws SapR3RfcFCException
- Throws:
SapR3RfcFCException
-
getRfcRepository
public com.sap.conn.jco.JCoRepository getRfcRepository() throws com.sap.conn.jco.JCoException
- Throws:
com.sap.conn.jco.JCoException
-
getJcoProperties
public java.util.Properties getJcoProperties()
Retun the local copy of the JCO properties we are to use.- Returns:
- Properties
-
maxRetries
public int maxRetries()
Get the number of retries to be attempted.- Returns:
- int the maximum number of retries to restablish a connection
-
generateDestinationName
public static java.lang.String generateDestinationName(java.util.Properties props) throws java.io.IOException
Generates the temp name used for the destination file.- Returns:
- String with name of file
- Throws:
java.io.IOException
-
terminate
public void terminate()
-
unregister
public void unregister()
-
-