|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.wsdl11.WSDLManagerImpl
public class WSDLManagerImpl
WSDLManagerImpl
Constructor Summary | |
---|---|
WSDLManagerImpl()
|
|
WSDLManagerImpl(Bus b)
|
Method Summary | |
---|---|
void |
addDefinition(Object key,
javax.wsdl.Definition wsdl)
Adds a definition into the cache for lookup later |
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. |
javax.wsdl.Definition |
getDefinition(URL 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()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSDLManagerImpl() throws BusException
BusException
public WSDLManagerImpl(Bus b) throws BusException
BusException
Method Detail |
---|
public final void setBus(Bus b)
public javax.wsdl.factory.WSDLFactory getWSDLFactory()
WSDLManager
getWSDLFactory
in interface WSDLManager
public Map<Object,javax.wsdl.Definition> getDefinitions()
getDefinitions
in interface WSDLManager
public javax.wsdl.extensions.ExtensionRegistry getExtensionRegistry()
WSDLManager
getExtensionRegistry
in interface WSDLManager
public javax.wsdl.Definition getDefinition(URL url) throws javax.wsdl.WSDLException
WSDLManager
getDefinition
in interface WSDLManager
url
- - the location of the WSDL to load
javax.wsdl.WSDLException
public javax.wsdl.Definition getDefinition(String url) throws javax.wsdl.WSDLException
WSDLManager
getDefinition
in interface WSDLManager
url
- - the location of the WSDL to load
javax.wsdl.WSDLException
public javax.wsdl.Definition getDefinition(Element el) throws javax.wsdl.WSDLException
WSDLManager
getDefinition
in interface WSDLManager
el
- - the root element of the wsdl
javax.wsdl.WSDLException
public void addDefinition(Object key, javax.wsdl.Definition wsdl)
WSDLManager
addDefinition
in interface WSDLManager
public ServiceSchemaInfo getSchemasForDefinition(javax.wsdl.Definition wsdl)
WSDLManager
getSchemasForDefinition
in interface WSDLManager
public void putSchemasForDefinition(javax.wsdl.Definition wsdl, ServiceSchemaInfo schemas)
WSDLManager
putSchemasForDefinition
in interface WSDLManager
public boolean isDisableSchemaCache()
public void setDisableSchemaCache(boolean disableSchemaCache)
disableSchemaCache
- public void removeDefinition(javax.wsdl.Definition wsdl)
WSDLManager
removeDefinition
in interface WSDLManager
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |