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 org.apache.cxf.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.
|
org.apache.cxf.service.model.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,
org.apache.cxf.service.model.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 |
removeDefinition(String url) |
void |
setBus(org.apache.cxf.Bus b) |
void |
setDisableSchemaCache(boolean disableSchemaCache)
There's a test that 'fails' by succeeding if the cache is operational.
|
void |
setXMLStreamReaderWrapper(org.apache.cxf.staxutils.XMLStreamReaderWrapper wrapper) |
public WSDLManagerImpl()
throws org.apache.cxf.BusException
org.apache.cxf.BusExceptionpublic final void setBus(org.apache.cxf.Bus b)
public javax.wsdl.factory.WSDLFactory getWSDLFactory()
WSDLManagergetWSDLFactory in interface WSDLManagerpublic Map<Object,javax.wsdl.Definition> getDefinitions()
getDefinitions in interface WSDLManagerprotected org.apache.cxf.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(org.apache.cxf.staxutils.XMLStreamReaderWrapper wrapper)
public org.apache.cxf.service.model.ServiceSchemaInfo getSchemasForDefinition(javax.wsdl.Definition wsdl)
WSDLManagergetSchemasForDefinition in interface WSDLManagerpublic void putSchemasForDefinition(javax.wsdl.Definition wsdl,
org.apache.cxf.service.model.ServiceSchemaInfo schemas)
WSDLManagerputSchemasForDefinition in interface WSDLManagerpublic boolean isDisableSchemaCache()
public void setDisableSchemaCache(boolean disableSchemaCache)
disableSchemaCache - public void removeDefinition(javax.wsdl.Definition wsdl)
WSDLManagerremoveDefinition in interface WSDLManagerpublic void removeDefinition(String url)
Apache CXF