public class ConfigurationRegistry extends Object
| Modifier and Type | Field and Description |
|---|---|
static ConfigurationRegistry |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T extends AbstractPropertyDTO> |
createPropertyDesc(T dto,
String name,
EntityModel entityModel) |
byte[] |
encrypt(byte[] data) |
EnumModel |
getEnum(String name) |
String |
getJsonRPCUrl() |
EntityModel |
getModel(String name) |
Collection<EntityModel> |
getModels() |
long |
getServerTimeMills() |
byte[] |
getSKEncrypted() |
Promise<Void,IError> |
loadModel() |
void |
registerPropertyType(Class<? extends AbstractPropertyDTO> dtoType,
IPropertyInstantiator<?,?> instantiator) |
Promise<Void,IError> |
updateServerEnvironment() |
public static final ConfigurationRegistry INSTANCE
public void registerPropertyType(Class<? extends AbstractPropertyDTO> dtoType, IPropertyInstantiator<?,?> instantiator)
public <T extends AbstractPropertyDTO> IPropertyDescriptor<?> createPropertyDesc(T dto, String name, EntityModel entityModel)
public EntityModel getModel(String name)
public Collection<EntityModel> getModels()
public String getJsonRPCUrl()
public long getServerTimeMills()
public byte[] encrypt(byte[] data)
public byte[] getSKEncrypted()
Copyright © 2018. All rights reserved.