electric.wsdl.loader
Class WSDLLoader

java.lang.Object
  extended byelectric.wsdl.loader.WSDLLoader

public final class WSDLLoader
extends java.lang.Object

WSDLLoader.

Author:
webMethods

Constructor Summary
WSDLLoader()
           
 
Method Summary
static void addToCache(java.lang.String path, WSDL wsdl)
           
static void clearCache()
          Clears out the WSDL cache.
static WSDL getFromCache(java.lang.String path)
           
static WSDL getWSDL(java.lang.String path)
           
static WSDL getWSDL(java.lang.String path, Context context)
           
static WSDL obtainWSDLBypassingCache(java.lang.String path, Context context)
           
static boolean removeFromCache(java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLLoader

public WSDLLoader()
Method Detail

getWSDL

public static WSDL getWSDL(java.lang.String path)
                    throws java.io.IOException,
                           ParseException,
                           RegistryException,
                           WSDLException
Parameters:
path -
Throws:
java.io.IOException
ParseException
RegistryException
WSDLException

getWSDL

public static WSDL getWSDL(java.lang.String path,
                           Context context)
                    throws java.io.IOException,
                           ParseException,
                           RegistryException,
                           WSDLException
Parameters:
path -
context -
Throws:
java.io.IOException
ParseException
RegistryException
WSDLException

obtainWSDLBypassingCache

public static WSDL obtainWSDLBypassingCache(java.lang.String path,
                                            Context context)
                                     throws RegistryException,
                                            WSDLException,
                                            ParseException,
                                            java.io.IOException
Parameters:
path -
context -
Returns:
Throws:
RegistryException
WSDLException
ParseException
java.io.IOException

clearCache

public static void clearCache()
Clears out the WSDL cache.


removeFromCache

public static boolean removeFromCache(java.lang.String path)
Parameters:
path -
Returns:
true if WSDL was removed from cache

getFromCache

public static WSDL getFromCache(java.lang.String path)
Parameters:
path -

addToCache

public static void addToCache(java.lang.String path,
                              WSDL wsdl)
Parameters:
path -
wsdl -


copyright© 2001-2004 by webMethods All Rights Reserved.