//package org.jeecg.config.sap;
|
//
|
//import com.sap.conn.jco.ext.*;
|
//
|
//import java.util.Properties;
|
//
|
//public class CustomDestinationDataProvider implements DestinationDataProvider {
|
//
|
// private final Properties properties = new Properties();
|
//
|
// public void addDestination(String destinationName, Properties connectProperties) {
|
// properties.put(destinationName, connectProperties);
|
// }
|
//
|
// @Override
|
// public boolean supportsEvents() {
|
// return false;
|
// }
|
//
|
// @Override
|
// public void setDestinationDataEventListener(DestinationDataEventListener destinationDataEventListener) {
|
//
|
// }
|
//
|
// @Override
|
// public Properties getDestinationProperties(String destinationName) {
|
// return properties.getProperty(destinationName) != null
|
// ? (Properties) properties.get(destinationName)
|
// : null;
|
// }
|
//}
|