public class PluginLicenseManager extends java.lang.Object implements PluginEngineModule
限定符和类型 | 方法和说明 |
---|---|
boolean |
copyLicense(PluginMarker lowerMarker,
PluginMarker marker)
升级时将旧版本的license复制到新目录下
|
static PluginLicenseManager |
getInstance() |
PluginLicense |
getLicense(PluginMarker marker,
java.util.List<Authorize> authorize)
获取插件的授权对象,不为null
|
void |
setLicense(PluginMarker marker,
java.io.InputStream licIn) |
void |
start() |
void |
stop() |
public void start()
start
在接口中 PluginEngineModule
public void stop()
stop
在接口中 PluginEngineModule
public static PluginLicenseManager getInstance()
public PluginLicense getLicense(PluginMarker marker, java.util.List<Authorize> authorize)
public boolean copyLicense(PluginMarker lowerMarker, PluginMarker marker)
public void setLicense(PluginMarker marker, java.io.InputStream licIn) throws PluginException
PluginException