public class SAPHandler
extends Object
implements RemoteAccess
Modifier and Type | Field and Description |
---|---|
static Properties |
connectionProps |
static JCoDestination |
destination |
static String |
HTTPGWHOSTNAME |
static int |
MAJOR |
static int |
MINOR |
static String |
RMIHOSTNAME |
static RemoteMethodServer |
RMS |
static String |
SAP_MAPKEY_ERROR_MSG |
static String |
SAPCONNECTIONSTR |
static boolean |
SERVER |
static String |
WEBAPPNAME |
static String |
WTHOME |
Constructor and Description |
---|
SAPHandler() |
Modifier and Type | Method and Description |
---|---|
static void |
connect() |
static Map<String,Map<String,Object>> |
getData(String functionName,
Map<String,Object> inputParams,
Map<String,Map<String,Object>> outParams) |
static Map<String,Object> |
getSimpleData(String functionName,
Map<String,Object> inputParams,
List<String> outParams,
String typeName,
String type) |
static Map<String,Object> |
getSimpleData2(String functionName,
Map<String,Map<String,Object>> inputParams,
List<String> outParams,
String typeName,
String type) |
static boolean |
isSAP_CONNECTION_ENABLED() |
static boolean |
isSAP_FILEWRITER_ENABLED() |
static void |
setSAP_CONNECTION_ENABLED(boolean sap_connection_enabled) |
static void |
setSAP_FILEWRITER_ENABLED(boolean sap_filewriter_enabled) |
public static final int MAJOR
public static final int MINOR
public static String SAPCONNECTIONSTR
public static JCoDestination destination
public static Properties connectionProps
public static String RMIHOSTNAME
public static String HTTPGWHOSTNAME
public static String WEBAPPNAME
public static boolean SERVER
public static RemoteMethodServer RMS
public static String WTHOME
public static final String SAP_MAPKEY_ERROR_MSG
public static boolean isSAP_CONNECTION_ENABLED()
public static void setSAP_CONNECTION_ENABLED(boolean sap_connection_enabled)
sap_connection_enabled
- the sap_connection_enabled to setpublic static void connect() throws Exception
Exception
public static Map<String,Map<String,Object>> getData(String functionName, Map<String,Object> inputParams, Map<String,Map<String,Object>> outParams) throws Exception
Exception
public static Map<String,Object> getSimpleData2(String functionName, Map<String,Map<String,Object>> inputParams, List<String> outParams, String typeName, String type) throws Exception
Exception
public static Map<String,Object> getSimpleData(String functionName, Map<String,Object> inputParams, List<String> outParams, String typeName, String type) throws Exception
Exception
public static boolean isSAP_FILEWRITER_ENABLED()
public static void setSAP_FILEWRITER_ENABLED(boolean sap_filewriter_enabled)
sap_filewriter_enabled
- the SAP_FILEWRITER_ENABLED to set