public abstract class AbstractDefinitionContext<T extends AbstractInterface<?>,T2 extends DefinitionLoader,T3 extends AbstractInterfaceDefinition<T>> extends Object implements DefinitionContext<T>
Constructor and Description |
---|
AbstractDefinitionContext(String url) |
AbstractDefinitionContext(String url,
T iface) |
Modifier and Type | Method and Description |
---|---|
protected abstract T2 |
createDefinitionLoader(DefinitionCache definitionCache) |
protected abstract T2 |
createDefinitionLoader(String url) |
DefinitionCache |
getDefinitionCache() |
List<InterfaceDefinitionPart> |
getDefinitionParts() |
T |
getInterface() |
T3 |
getInterfaceDefinition() |
SchemaException |
getSchemaException() |
org.apache.xmlbeans.SchemaTypeLoader |
getSchemaTypeLoader() |
org.apache.xmlbeans.SchemaTypeSystem |
getSchemaTypeSystem() |
String |
getUrl() |
boolean |
hasSchemaTypes() |
boolean |
isCached() |
boolean |
isLoaded() |
boolean |
load() |
boolean |
load(T2 wsdlLoader) |
protected abstract T3 |
loadDefinition(T2 loader) |
boolean |
loadIfNecessary() |
void |
release() |
void |
reload() |
void |
setDefinition(String url,
boolean updateCache) |
void |
setInterface(T iface) |
static void |
uncache(String url) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
export
public AbstractDefinitionContext(String url)
public T getInterface()
getInterface
in interface DefinitionContext<T extends AbstractInterface<?>>
public T3 getInterfaceDefinition() throws Exception
getInterfaceDefinition
in interface DefinitionContext<T extends AbstractInterface<?>>
Exception
public boolean isLoaded()
public boolean loadIfNecessary() throws Exception
loadIfNecessary
in interface DefinitionContext<T extends AbstractInterface<?>>
Exception
public void setDefinition(String url, boolean updateCache) throws Exception
Exception
public org.apache.xmlbeans.SchemaTypeLoader getSchemaTypeLoader() throws Exception
Exception
public SchemaException getSchemaException()
protected abstract T2 createDefinitionLoader(DefinitionCache definitionCache)
public void release()
public org.apache.xmlbeans.SchemaTypeSystem getSchemaTypeSystem() throws Exception
Exception
public boolean hasSchemaTypes()
hasSchemaTypes
in interface DefinitionContext<T extends AbstractInterface<?>>
public String getUrl()
public void setInterface(T iface)
public static void uncache(String url)
public boolean isCached()
isCached
in interface DefinitionContext<T extends AbstractInterface<?>>
public List<InterfaceDefinitionPart> getDefinitionParts() throws Exception
Exception
public DefinitionCache getDefinitionCache() throws Exception
Exception
Copyright © 2019. All Rights Reserved.