com.eviware.soapui.impl.support.definition.support
Class AbstractDefinitionCache<T extends AbstractInterface>

java.lang.Object
  extended by com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache<T>
All Implemented Interfaces:
DefinitionCache
Direct Known Subclasses:
InterfaceConfigDefinitionCache, StandaloneDefinitionCache

public abstract class AbstractDefinitionCache<T extends AbstractInterface>
extends java.lang.Object
implements DefinitionCache


Field Summary
protected  com.eviware.soapui.config.DefinitionCacheConfig definitionCache
           
 
Constructor Summary
AbstractDefinitionCache(com.eviware.soapui.config.DefinitionCacheConfig definitionCache, T container)
           
 
Method Summary
 void clear()
           
protected  com.eviware.soapui.config.DefinitionCacheConfig getConfig()
           
 T getContainer()
           
 java.util.List<InterfaceDefinitionPart> getDefinitionParts()
           
 InterfaceDefinitionPart getRootPart()
           
 void importCache(DefinitionCache cache)
           
protected abstract  com.eviware.soapui.config.DefinitionCacheConfig reinit(T owner)
           
 void update(DefinitionLoader loader)
           
 boolean validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

definitionCache

protected com.eviware.soapui.config.DefinitionCacheConfig definitionCache
Constructor Detail

AbstractDefinitionCache

public AbstractDefinitionCache(com.eviware.soapui.config.DefinitionCacheConfig definitionCache,
                               T container)
Method Detail

reinit

protected abstract com.eviware.soapui.config.DefinitionCacheConfig reinit(T owner)

getContainer

public T getContainer()

validate

public boolean validate()
Specified by:
validate in interface DefinitionCache

importCache

public void importCache(DefinitionCache cache)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getConfig

protected com.eviware.soapui.config.DefinitionCacheConfig getConfig()

update

public void update(DefinitionLoader loader)
            throws java.lang.Exception
Specified by:
update in interface DefinitionCache
Throws:
java.lang.Exception

getDefinitionParts

public java.util.List<InterfaceDefinitionPart> getDefinitionParts()
                                                           throws java.lang.Exception
Specified by:
getDefinitionParts in interface DefinitionCache
Throws:
java.lang.Exception

getRootPart

public InterfaceDefinitionPart getRootPart()
Specified by:
getRootPart in interface DefinitionCache

clear

public void clear()
Specified by:
clear in interface DefinitionCache


Copyright © 2005-2009 eviware.com. All Rights Reserved.