Apache CXF API

org.apache.cxf.wsdl11
Class WSDLManagerImpl

java.lang.Object
  extended by org.apache.cxf.wsdl11.WSDLManagerImpl
All Implemented Interfaces:
WSDLManager

public class WSDLManagerImpl
extends java.lang.Object
implements WSDLManager

WSDLManagerImpl

Author:
dkulp

Constructor Summary
WSDLManagerImpl()
           
 
Method Summary
 void addDefinition(java.lang.Object key, javax.wsdl.Definition wsdl)
          Adds a definition into the cache for lookup later
 javax.wsdl.Definition getDefinition(org.w3c.dom.Element el)
          Get the WSDL definition for the given Element.
 javax.wsdl.Definition getDefinition(java.lang.String url)
          Get the WSDL definition for the given URL.
 javax.wsdl.Definition getDefinition(java.net.URL url)
          Get the WSDL definition for the given URL.
 java.util.Map<java.lang.Object,javax.wsdl.Definition> getDefinitions()
           
 javax.wsdl.extensions.ExtensionRegistry getExtenstionRegistry()
          Returns the ExtensionRegistry that the WSDLManager uses when reading WSDL files.
 javax.wsdl.factory.WSDLFactory getWSDLFactory()
          Returns the WSDLFactory that is used to read/write WSDL definitions
 void register()
           
 void setBus(Bus b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLManagerImpl

public WSDLManagerImpl()
                throws BusException
Throws:
BusException
Method Detail

setBus

public void setBus(Bus b)

register

@PostConstruct
public void register()

getWSDLFactory

public javax.wsdl.factory.WSDLFactory getWSDLFactory()
Description copied from interface: WSDLManager
Returns the WSDLFactory that is used to read/write WSDL definitions

Specified by:
getWSDLFactory in interface WSDLManager
Returns:
the WSDLFactory

getDefinitions

public java.util.Map<java.lang.Object,javax.wsdl.Definition> getDefinitions()
Specified by:
getDefinitions in interface WSDLManager
Returns:
all Definitions in the map

getExtenstionRegistry

public javax.wsdl.extensions.ExtensionRegistry getExtenstionRegistry()
Description copied from interface: WSDLManager
Returns the ExtensionRegistry that the WSDLManager uses when reading WSDL files. Users can use this to register their own extensors.

Specified by:
getExtenstionRegistry in interface WSDLManager
Returns:
the ExtensionRegistry

getDefinition

public javax.wsdl.Definition getDefinition(java.net.URL url)
                                    throws javax.wsdl.WSDLException
Description copied from interface: WSDLManager
Get the WSDL definition for the given URL. Implementations may return a copy from a local cache or load a new copy from the URL.

Specified by:
getDefinition in interface WSDLManager
Parameters:
url - - the location of the WSDL to load
Returns:
the wsdl definition
Throws:
javax.wsdl.WSDLException

getDefinition

public javax.wsdl.Definition getDefinition(java.lang.String url)
                                    throws javax.wsdl.WSDLException
Description copied from interface: WSDLManager
Get the WSDL definition for the given URL. Implementations may return a copy from a local cache or load a new copy from the URL.

Specified by:
getDefinition in interface WSDLManager
Parameters:
url - - the location of the WSDL to load
Returns:
the wsdl definition
Throws:
javax.wsdl.WSDLException

getDefinition

public javax.wsdl.Definition getDefinition(org.w3c.dom.Element el)
                                    throws javax.wsdl.WSDLException
Description copied from interface: WSDLManager
Get the WSDL definition for the given Element. Implementations may return a copy from a local cache or load a new copy from the Element.

Specified by:
getDefinition in interface WSDLManager
Parameters:
el - - the root element of the wsdl
Returns:
the wsdl definition
Throws:
javax.wsdl.WSDLException

addDefinition

public void addDefinition(java.lang.Object key,
                          javax.wsdl.Definition wsdl)
Description copied from interface: WSDLManager
Adds a definition into the cache for lookup later

Specified by:
addDefinition in interface WSDLManager

Apache CXF API

Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.