uk.ac.soton.itinnovation.grid.comms.client
Class WSDLCacheImpl
java.lang.Object
uk.ac.soton.itinnovation.grid.comms.client.WSDLCacheImpl
- All Implemented Interfaces:
- WSDLCache
public class WSDLCacheImpl
- extends Object
- implements WSDLCache
Load and cache WSDL files.
|
Field Summary |
protected static org.apache.log4j.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.log4j.Logger log
WSDLCacheImpl
public WSDLCacheImpl(Transport transport)
get
public Document get(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.
- Specified by:
get in interface WSDLCache
- Parameters:
resourcePath - the location of the WSDL resource (in CLASSPATH)
- Returns:
- a WSDL document
get
public Document get(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.
- Specified by:
get in interface WSDLCache
- Parameters:
url - the location of the WSDL resource
- Returns:
- a WSDL document
- Throws:
RemoteException
get
public Document get(URL url,
X509Certificate expectedCertificate)
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.
- Specified by:
get in interface WSDLCache
- Parameters:
url - the location of the WSDL resourceexpectedCertificate - an extra SSL certificate to trust (optional)
- Returns:
- a WSDL document
- Throws:
RemoteException
clear
public void clear()
- Specified by:
clear in interface WSDLCache
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.