public class WSDLManagerImpl extends java.lang.Object implements WSDLManager
| Constructor and Description |
|---|
WSDLManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefinition(java.lang.Object key,
Definition wsdl)
Adds a definition into the cache for lookup later
|
protected Bus |
getBus() |
Definition |
getDefinition(org.w3c.dom.Element el)
Get the WSDL definition for the given Element.
|
Definition |
getDefinition(java.lang.String url)
Get the WSDL definition for the given URL.
|
java.util.Map<java.lang.Object,Definition> |
getDefinitions() |
ExtensionRegistry |
getExtensionRegistry()
Returns the ExtensionRegistry that the WSDLManager
uses when reading WSDL files.
|
ServiceSchemaInfo |
getSchemasForDefinition(Definition wsdl)
This object will cache the schemas for a WSDL.
|
WSDLFactory |
getWSDLFactory()
Returns the WSDLFactory that is used to read/write WSDL definitions
|
boolean |
isDisableSchemaCache() |
protected Definition |
loadDefinition(java.lang.String url) |
void |
putSchemasForDefinition(Definition wsdl,
ServiceSchemaInfo schemas)
Register a collection of schemas for a WSDL.
|
void |
removeDefinition(Definition wsdl)
If the definition is cached, remove it from the cache
|
void |
setBus(Bus b) |
void |
setDisableSchemaCache(boolean disableSchemaCache)
There's a test that 'fails' by succeeding if the cache is operational.
|
void |
setXMLStreamReaderWrapper(XMLStreamReaderWrapper wrapper) |
public WSDLManagerImpl()
throws BusException
BusExceptionpublic final void setBus(Bus b)
public WSDLFactory getWSDLFactory()
WSDLManagergetWSDLFactory in interface WSDLManagerpublic java.util.Map<java.lang.Object,Definition> getDefinitions()
getDefinitions in interface WSDLManagerprotected Bus getBus()
public ExtensionRegistry getExtensionRegistry()
WSDLManagergetExtensionRegistry in interface WSDLManagerpublic Definition getDefinition(java.lang.String url) throws WSDLException
WSDLManagergetDefinition in interface WSDLManagerurl - - the location of the WSDL to loadWSDLExceptionpublic Definition getDefinition(org.w3c.dom.Element el) throws WSDLException
WSDLManagergetDefinition in interface WSDLManagerel - - the root element of the wsdlWSDLExceptionpublic void addDefinition(java.lang.Object key,
Definition wsdl)
WSDLManageraddDefinition in interface WSDLManagerprotected Definition loadDefinition(java.lang.String url) throws WSDLException
WSDLExceptionpublic void setXMLStreamReaderWrapper(XMLStreamReaderWrapper wrapper)
public ServiceSchemaInfo getSchemasForDefinition(Definition wsdl)
WSDLManagergetSchemasForDefinition in interface WSDLManagerpublic void putSchemasForDefinition(Definition wsdl, ServiceSchemaInfo schemas)
WSDLManagerputSchemasForDefinition in interface WSDLManagerpublic boolean isDisableSchemaCache()
public void setDisableSchemaCache(boolean disableSchemaCache)
disableSchemaCache - public void removeDefinition(Definition wsdl)
WSDLManagerremoveDefinition in interface WSDLManager