gr.uoa.di.madgik.grs.proxy
Class ProxyFactory
java.lang.Object
gr.uoa.di.madgik.grs.proxy.ProxyFactory
public class ProxyFactory
- extends Object
This utility class instantiates the appropriate IReaderProxy implementation that can
serve a reader to access the IBuffer managed through the IWriterProxy that
created the provided URI
- Author:
- gpapanikos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyFactory
public ProxyFactory()
getProxy
public static IReaderProxy getProxy(URI locator)
throws GRS2ProxyException
- Instantiates the appropriate
IReaderProxy that can manage the provided URI locator.
After the proxy is instantiated, the IReaderProxy.fromLocator(URI) method is
invoked to populate the proxy with the needed information provided by the URI
- Parameters:
locator - The locator to use
- Returns:
- the instantiated
IReaderProxy
- Throws:
GRS2ProxyException - the proxy could not be instantiated
Copyright © 2012. All Rights Reserved.