public class XMLUpgrade extends BridgeUpgrade
BridgeUpgrade base class specialized for XML containing payload ResultSetThread.State, Thread.UncaughtExceptionHandlerlocator, recordInputClass, recordOutputClassMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
XMLUpgrade() |
XMLUpgrade(org.gcube.common.searchservice.searchlibrary.rsclient.elements.RSLocator locator) |
| Modifier and Type | Method and Description |
|---|---|
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 |
getRecord, run, setLocator, setRecordInputClass, setRecordOutputClass, upgradeactiveCount, checkAccess, clone, 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, yieldpublic XMLUpgrade()
public XMLUpgrade(org.gcube.common.searchservice.searchlibrary.rsclient.elements.RSLocator locator)
public void setCompress(boolean compress)
compress - compress at transport or notpublic void setProxy(gr.uoa.di.madgik.grs.proxy.IWriterProxy proxy)
IWriterProxy to be used for the locaotr URI to be created for the outputproxy - the proxy to usepublic void initialize()
throws GCubeBridgeException
initialize in class BridgeUpgradeGCubeBridgeException - the initialization could not be completedBridgeUpgrade.initialize()public URI getLocator() throws GCubeBridgeException
IBuffergetLocator in class BridgeUpgradeGCubeBridgeException - the locator could not be retrievedBridgeUpgrade.getLocator()public void doUpgrade()
throws GCubeBridgeException
doUpgrade in class BridgeUpgradeGCubeBridgeException - the upgrade could not be completedBridgeUpgrade.doUpgrade()public Logger getLogger()
getLogger in class BridgeUpgradeBridgeUpgrade.getLogger()Copyright © 2015. All Rights Reserved.