|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.core.loader.impl.WSDLDefinitionRegistryImpl
public class WSDLDefinitionRegistryImpl
Nested Class Summary | |
---|---|
static interface |
WSDLDefinitionRegistryImpl.Monitor
|
Constructor Summary | |
---|---|
WSDLDefinitionRegistryImpl()
|
Method Summary | |
---|---|
java.util.List<javax.wsdl.Definition> |
getDefinitionsForNamespace(java.lang.String namespace,
org.apache.tuscany.common.resource.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(javax.xml.namespace.QName name,
org.apache.tuscany.common.resource.ResourceLoader resourceLoader)
Returns the PortType with the supplied qualified name, or null if no such port has been defined. |
javax.wsdl.Service |
getService(javax.xml.namespace.QName name,
org.apache.tuscany.common.resource.ResourceLoader resourceLoader)
Returns the Service with the supplied qualified name, or null if no such service has been defined. |
javax.wsdl.Definition |
loadDefinition(java.lang.String wsdlLocation,
org.apache.tuscany.common.resource.ResourceLoader resourceLoader)
Load and register a WSDL definition as specified in a WSDL2.0 wsdlLocation attribute. |
javax.wsdl.Definition |
loadDefinition(java.lang.String namespace,
java.net.URL location,
org.apache.tuscany.common.resource.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(java.lang.String wsdlLocation, org.apache.tuscany.common.resource.ResourceLoader resourceLoader) throws java.io.IOException, javax.wsdl.WSDLException
WSDLDefinitionRegistry
loadDefinition
in interface WSDLDefinitionRegistry
wsdlLocation
- the value of the wsdlLocation attributeresourceLoader
- application resource loader used to support relative locations
java.io.IOException
- if there was a problem reading the document
javax.wsdl.WSDLException
- if there was a problem parsing the definitionpublic javax.wsdl.Definition loadDefinition(java.lang.String namespace, java.net.URL location, org.apache.tuscany.common.resource.ResourceLoader resourceLoader) throws java.io.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
java.io.IOException
- if there was a problem reading the document
javax.wsdl.WSDLException
- if there was a problem parsing the definitionpublic java.util.List<javax.wsdl.Definition> getDefinitionsForNamespace(java.lang.String namespace, org.apache.tuscany.common.resource.ResourceLoader resourceLoader)
WSDLDefinitionRegistry
getDefinitionsForNamespace
in interface WSDLDefinitionRegistry
namespace
- the namespace to lookupresourceLoader
- the application resource loader
public javax.wsdl.PortType getPortType(javax.xml.namespace.QName name, org.apache.tuscany.common.resource.ResourceLoader resourceLoader)
WSDLDefinitionRegistry
getPortType
in interface WSDLDefinitionRegistry
name
- the qualified name of the WSDL portTyperesourceLoader
- the application resource loader
public javax.wsdl.Service getService(javax.xml.namespace.QName name, org.apache.tuscany.common.resource.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 |