You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
888 B
42 lines
888 B
package com.fr.design.dcm; |
|
|
|
import com.fr.decision.webservice.bean.BaseBean; |
|
import com.fr.design.bridge.exec.JSBridge; |
|
import com.teamdev.jxbrowser.js.JsAccessible; |
|
import com.teamdev.jxbrowser.js.JsObject; |
|
|
|
/** |
|
* @author richie |
|
* @version 10.0 |
|
* Created by richie on 2019-05-17 |
|
* 桥接Java和JavaScript的类 |
|
*/ |
|
@JsAccessible |
|
public class UniversalDcmBridge { |
|
|
|
/** |
|
* 获取 js-java bridge |
|
* |
|
* @param window 全局环境 |
|
* @return bridge |
|
*/ |
|
public static UniversalDcmBridge getBridge(JsObject window) { |
|
return new UniversalDcmBridge(window); |
|
} |
|
|
|
private JsObject window; |
|
|
|
private UniversalDcmBridge(JsObject window) { |
|
this.window = window; |
|
} |
|
|
|
/** |
|
* 获取所有的数据连接 |
|
* |
|
* @return 数据连接集合 |
|
*/ |
|
@JSBridge |
|
public BaseBean getConnections() { |
|
return null; |
|
} |
|
}
|
|
|