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.
18 lines
430 B
18 lines
430 B
6 years ago
|
package com.fr.start;
|
||
|
|
||
|
import com.fr.design.fun.OemProcessor;
|
||
|
import com.fr.module.Module;
|
||
|
import com.fr.module.ModuleContext;
|
||
|
|
||
|
/**
|
||
|
* OEM处理中心
|
||
|
*/
|
||
|
public class OemHandler {
|
||
|
public static OemProcessor findOem() {
|
||
|
Module oemModule = ModuleContext.getModule(OemActivator.class);
|
||
|
if (oemModule != null) {
|
||
|
return oemModule.getSingleton(OemProcessor.class);
|
||
|
}
|
||
|
return null;
|
||
|
}
|
||
|
}
|