public class LicenseConfigManager extends Configuration
构造器和说明 |
---|
LicenseConfigManager() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getAppKey() |
java.lang.String |
getAppSecretKey() |
static LicenseConfigManager |
getInstance() |
java.lang.String |
getNameSpace()
配置类的自定义前缀(配置类的命名空间),需要自己实现
|
java.lang.String |
getServerAddress() |
LicenseType |
getType() |
boolean |
isUseDongle() |
boolean |
isUseFile() |
boolean |
isUsePrivateServer() |
boolean |
isUsePublicServer() |
void |
setAppKey(java.lang.String appKey) |
void |
setAppSecretKey(java.lang.String appSecretKey) |
void |
setServerAddress(java.lang.String serverAddress) |
void |
setType(LicenseType type) |
clone, initialize, mirror
public static LicenseConfigManager getInstance()
public java.lang.String getNameSpace()
Configuration
getNameSpace
在类中 Configuration
public boolean isUseFile()
public boolean isUseDongle()
public boolean isUsePrivateServer()
public boolean isUsePublicServer()
public java.lang.String getServerAddress()
public void setServerAddress(java.lang.String serverAddress)
public java.lang.String getAppKey()
public void setAppKey(java.lang.String appKey)
public java.lang.String getAppSecretKey()
public void setAppSecretKey(java.lang.String appSecretKey)
public void setType(LicenseType type)
public LicenseType getType()