uk.ac.soton.itinnovation.grid.comms.client
Class WSDLCache

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.comms.client.WSDLCache

public class WSDLCache
extends Object

Load and cache WSDL files.


Field Summary
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
WSDLCache()
           
 
Method Summary
static Parser getWSDL(String resourcePath)
          Get a WSDL file from the cache.
static Parser getWSDLfromURL(URL url)
          Get a WSDL file from the cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
Constructor Detail

WSDLCache

public WSDLCache()
Method Detail

getWSDL

public static Parser getWSDL(String resourcePath)
Get a WSDL file from the cache. If the resource is not in the cache then it is loaded, parsed and added first.

Parameters:
resourcePath - the location of the WSDL resource (in CLASSPATH)
Returns:
a parsed WSDL document

getWSDLfromURL

public static Parser getWSDLfromURL(URL url)
                             throws RemoteException
Get a WSDL file from the cache. If the resource is not in the cache then it is loaded, parsed and added first.

Parameters:
url - the location of the WSDL resource
Returns:
a parsed WSDL document
Throws:
RemoteException


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.