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.StringdestinationNameSapDestinationDataProvidersapDestinationDataProvider
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateDestinationDataFile(java.util.Properties connectionProperties)static java.lang.Stringdecrypt(java.lang.String data)static java.lang.Stringencrypt(java.lang.String text)static java.lang.StringgenerateDestinationName(java.util.Properties props)Generates the temp name used for the destination file.java.lang.StringgetDestinationName()java.util.PropertiesgetJcoProperties()Retun the local copy of the JCO properties we are to use.com.sap.conn.jco.JCoRepositorygetRfcRepository()intmaxRetries()Get the number of retries to be attempted.voidsetup()voidterminate()voidunregister()
-
-
-
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.GeneralSecurityExceptionjava.io.IOException
-
decrypt
public static java.lang.String decrypt(java.lang.String data) throws java.security.GeneralSecurityException, java.io.IOException- Throws:
java.security.GeneralSecurityExceptionjava.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.IOExceptionGenerates 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()
-
-