|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.core.loader.impl.WSDLDefinitionRegistryImpl
public class WSDLDefinitionRegistryImpl
Nested Class Summary | |
---|---|
static interface |
WSDLDefinitionRegistryImpl.Monitor
|
Constructor Summary | |
---|---|
WSDLDefinitionRegistryImpl()
|
Method Summary | |
---|---|
List<javax.wsdl.Definition> |
getDefinitionsForNamespace(String namespace,
ResourceLoader resourceLoader)
Returns a list of definitions that have been loaded for the given namespace, or null if no WSDL documents have been loaded for the given namespace |
javax.wsdl.extensions.ExtensionRegistry |
getExtensionRegistry()
Returns the ExtensionRegistry that is used when parsing WSDL documents during the loadDefinition call. |
javax.wsdl.PortType |
getPortType(QName name,
ResourceLoader resourceLoader)
Returns the PortType with the supplied qualified name, or null if no such port has been defined. |
javax.wsdl.Service |
getService(QName name,
ResourceLoader resourceLoader)
Returns the Service with the supplied qualified name, or null if no such service has been defined. |
javax.wsdl.Definition |
loadDefinition(String wsdlLocation,
ResourceLoader resourceLoader)
Load and register a WSDL definition as specified in a WSDL2.0 wsdlLocation attribute. |
javax.wsdl.Definition |
loadDefinition(String namespace,
URL location,
ResourceLoader resourceLoader)
Loads and registers a WSDL Definition. |
void |
setMonitor(WSDLDefinitionRegistryImpl.Monitor monitor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSDLDefinitionRegistryImpl() throws javax.wsdl.WSDLException
javax.wsdl.WSDLException
Method Detail |
---|
public void setMonitor(WSDLDefinitionRegistryImpl.Monitor monitor)
public javax.wsdl.extensions.ExtensionRegistry getExtensionRegistry()
WSDLDefinitionRegistry
getExtensionRegistry
in interface WSDLDefinitionRegistry
public javax.wsdl.Definition loadDefinition(String wsdlLocation, ResourceLoader resourceLoader) throws IOException, javax.wsdl.WSDLException
WSDLDefinitionRegistry
loadDefinition
in interface WSDLDefinitionRegistry
wsdlLocation
- the value of the wsdlLocation attributeresourceLoader
- application resource loader used to support relative locations
IOException
- if there was a problem reading the document
javax.wsdl.WSDLException
- if there was a problem parsing the definitionpublic javax.wsdl.Definition loadDefinition(String namespace, URL location, ResourceLoader resourceLoader) throws IOException, javax.wsdl.WSDLException
WSDLDefinitionRegistry
loadDefinition
in interface WSDLDefinitionRegistry
namespace
- the expected namespace, or null if any namespace should be allowedlocation
- the location to load the definition fromresourceLoader
- the application resource loader
IOException
- if there was a problem reading the document
javax.wsdl.WSDLException
- if there was a problem parsing the definitionpublic List<javax.wsdl.Definition> getDefinitionsForNamespace(String namespace, ResourceLoader resourceLoader)
WSDLDefinitionRegistry
getDefinitionsForNamespace
in interface WSDLDefinitionRegistry
namespace
- the namespace to lookupresourceLoader
- the application resource loader
public javax.wsdl.PortType getPortType(QName name, ResourceLoader resourceLoader)
WSDLDefinitionRegistry
getPortType
in interface WSDLDefinitionRegistry
name
- the qualified name of the WSDL portTyperesourceLoader
- the application resource loader
public javax.wsdl.Service getService(QName name, ResourceLoader resourceLoader)
WSDLDefinitionRegistry
getService
in interface WSDLDefinitionRegistry
name
- the qualified name of the WSDL serviceresourceLoader
- the application resource loader
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |