gr.uoa.di.madgik.grs.bridge.xml
Class XMLUpgrade
java.lang.Object
java.lang.Thread
gr.uoa.di.madgik.grs.bridge.BridgeUpgrade
gr.uoa.di.madgik.grs.bridge.xml.XMLUpgrade
- All Implemented Interfaces:
- Runnable
public class XMLUpgrade
- extends BridgeUpgrade
Implementation of the BridgeUpgrade base class specialized for XML containing payload ResultSet
- Author:
- gpapanikos
|
Constructor Summary |
XMLUpgrade()
|
XMLUpgrade(org.gcube.common.searchservice.searchlibrary.rsclient.elements.RSLocator locator)
|
|
Method Summary |
void |
doUpgrade()
Iterate over the input, produce the output and store it in the output writer |
URI |
getLocator()
Retrieves the locator of the create IBuffer |
Logger |
getLogger()
The logger defined by the extending class to use the same logger |
void |
initialize()
Perform any initialization needed before the upgrade begins |
void |
setCompress(boolean compress)
Set compress at transport |
void |
setProxy(gr.uoa.di.madgik.grs.proxy.IWriterProxy proxy)
Sets the IWriterProxy to be used for the locaotr URI to be created for the output |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
XMLUpgrade
public XMLUpgrade()
XMLUpgrade
public XMLUpgrade(org.gcube.common.searchservice.searchlibrary.rsclient.elements.RSLocator locator)
setCompress
public void setCompress(boolean compress)
- Set compress at transport
- Parameters:
compress - compress at transport or not
setProxy
public void setProxy(gr.uoa.di.madgik.grs.proxy.IWriterProxy proxy)
- Sets the
IWriterProxy to be used for the locaotr URI to be created for the output
- Parameters:
proxy - the proxy to use
initialize
public void initialize()
throws GCubeBridgeException
- Perform any initialization needed before the upgrade begins
- Specified by:
initialize in class BridgeUpgrade
- Throws:
GCubeBridgeException - the initialization could not be completed- See Also:
BridgeUpgrade.initialize()
getLocator
public URI getLocator()
throws GCubeBridgeException
- Retrieves the locator of the create
IBuffer
- Specified by:
getLocator in class BridgeUpgrade
- Returns:
- the locator URI
- Throws:
GCubeBridgeException - the locator could not be retrieved- See Also:
BridgeUpgrade.getLocator()
doUpgrade
public void doUpgrade()
throws GCubeBridgeException
- Iterate over the input, produce the output and store it in the output writer
- Specified by:
doUpgrade in class BridgeUpgrade
- Throws:
GCubeBridgeException - the upgrade could not be completed- See Also:
BridgeUpgrade.doUpgrade()
getLogger
public Logger getLogger()
- The logger defined by the extending class to use the same logger
- Specified by:
getLogger in class BridgeUpgrade
- Returns:
- the logger
- See Also:
BridgeUpgrade.getLogger()
Copyright © 2014. All Rights Reserved.