public abstract class AbstractDefinitionCache<T extends AbstractInterface<?>> extends Object implements DefinitionCache
Modifier and Type | Field and Description |
---|---|
protected DefinitionCacheConfig |
definitionCache |
Constructor and Description |
---|
AbstractDefinitionCache(DefinitionCacheConfig definitionCache,
T container) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
protected DefinitionCacheConfig |
getConfig() |
T |
getContainer() |
List<InterfaceDefinitionPart> |
getDefinitionParts() |
InterfaceDefinitionPart |
getRootPart() |
void |
importCache(DefinitionCache cache) |
protected abstract DefinitionCacheConfig |
reinit(T owner) |
void |
update(DefinitionLoader loader) |
boolean |
validate() |
protected DefinitionCacheConfig definitionCache
public AbstractDefinitionCache(DefinitionCacheConfig definitionCache, T container)
protected abstract DefinitionCacheConfig reinit(T owner)
public T getContainer()
public boolean validate()
validate
in interface DefinitionCache
public void importCache(DefinitionCache cache) throws Exception
Exception
protected DefinitionCacheConfig getConfig()
public void update(DefinitionLoader loader) throws Exception
update
in interface DefinitionCache
Exception
public List<InterfaceDefinitionPart> getDefinitionParts() throws Exception
getDefinitionParts
in interface DefinitionCache
Exception
public InterfaceDefinitionPart getRootPart()
getRootPart
in interface DefinitionCache
public void clear()
clear
in interface DefinitionCache
Copyright © 2019. All Rights Reserved.