public class WSDLManagerImpl extends Object implements WSDLManager
| Constructor and Description |
|---|
WSDLManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefinition(Object key,
javax.wsdl.Definition wsdl)
Adds a definition into the cache for lookup later
|
protected Bus |
getBus() |
javax.wsdl.Definition |
getDefinition(Element el)
Get the WSDL definition for the given Element.
|
javax.wsdl.Definition |
getDefinition(String url)
Get the WSDL definition for the given URL.
|
Map<Object,javax.wsdl.Definition> |
getDefinitions() |
javax.wsdl.extensions.ExtensionRegistry |
getExtensionRegistry()
Returns the ExtensionRegistry that the WSDLManager
uses when reading WSDL files.
|
ServiceSchemaInfo |
getSchemasForDefinition(javax.wsdl.Definition wsdl)
This object will cache the schemas for a WSDL.
|
javax.wsdl.factory.WSDLFactory |
getWSDLFactory()
Returns the WSDLFactory that is used to read/write WSDL definitions
|
boolean |
isDisableSchemaCache() |
protected javax.wsdl.Definition |
loadDefinition(String url) |
void |
putSchemasForDefinition(javax.wsdl.Definition wsdl,
ServiceSchemaInfo schemas)
Register a collection of schemas for a WSDL.
|
void |
removeDefinition(javax.wsdl.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 javax.wsdl.factory.WSDLFactory getWSDLFactory()
WSDLManagergetWSDLFactory in interface WSDLManagerpublic Map<Object,javax.wsdl.Definition> getDefinitions()
getDefinitions in interface WSDLManagerprotected Bus getBus()
public javax.wsdl.extensions.ExtensionRegistry getExtensionRegistry()
WSDLManagergetExtensionRegistry in interface WSDLManagerpublic javax.wsdl.Definition getDefinition(String url) throws javax.wsdl.WSDLException
WSDLManagergetDefinition in interface WSDLManagerurl - - the location of the WSDL to loadjavax.wsdl.WSDLExceptionpublic javax.wsdl.Definition getDefinition(Element el) throws javax.wsdl.WSDLException
WSDLManagergetDefinition in interface WSDLManagerel - - the root element of the wsdljavax.wsdl.WSDLExceptionpublic void addDefinition(Object key, javax.wsdl.Definition wsdl)
WSDLManageraddDefinition in interface WSDLManagerprotected javax.wsdl.Definition loadDefinition(String url) throws javax.wsdl.WSDLException
javax.wsdl.WSDLExceptionpublic void setXMLStreamReaderWrapper(XMLStreamReaderWrapper wrapper)
public ServiceSchemaInfo getSchemasForDefinition(javax.wsdl.Definition wsdl)
WSDLManagergetSchemasForDefinition in interface WSDLManagerpublic void putSchemasForDefinition(javax.wsdl.Definition wsdl,
ServiceSchemaInfo schemas)
WSDLManagerputSchemasForDefinition in interface WSDLManagerpublic boolean isDisableSchemaCache()
public void setDisableSchemaCache(boolean disableSchemaCache)
disableSchemaCache - public void removeDefinition(javax.wsdl.Definition wsdl)
WSDLManagerremoveDefinition in interface WSDLManagerApache CXF