forked from fanruan/design
kuangshuai
4 years ago
4 changed files with 29 additions and 4 deletions
@ -0,0 +1,13 @@ |
|||||||
|
package com.fr.design.mainframe.share.util; |
||||||
|
|
||||||
|
import com.fr.form.share.encrypt.engine.SharableReadHelper; |
||||||
|
import com.fr.stable.xml.XMLConf; |
||||||
|
import com.fr.stable.xml.helper.XMLReadHelper; |
||||||
|
|
||||||
|
public class SharableXMLUtils { |
||||||
|
public static synchronized void registerSharableReadHelper() { |
||||||
|
XMLReadHelper readHelper = XMLConf.getReadHelper(); |
||||||
|
XMLReadHelper helper = new SharableReadHelper(readHelper); |
||||||
|
XMLConf.registerXMLHelper(helper); |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,11 @@ |
|||||||
|
package com.fr.design.share; |
||||||
|
|
||||||
|
import com.fr.design.mainframe.share.collect.SharableCollectorManager; |
||||||
|
import com.fr.design.mainframe.share.util.SharableXMLUtils; |
||||||
|
|
||||||
|
public class SharableInitManager { |
||||||
|
public static void start() { |
||||||
|
SharableXMLUtils.registerSharableReadHelper(); |
||||||
|
SharableCollectorManager.getInstance().execute(); |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue