org.eclipse.datatools.enablement.oda.ws.util
Class Java2SOAPManager

java.lang.Object
  extended by org.eclipse.datatools.enablement.oda.ws.util.Java2SOAPManager

public class Java2SOAPManager
extends java.lang.Object


Constructor Summary
Java2SOAPManager()
           
 
Method Summary
 void close()
           
 java.lang.Object executeQuery()
          newQuery is expected to be called already
 java.util.Map getAppConext()
           
 void newQuery(java.lang.String className)
          Make ready the custom connection instance which is able to retrieve an inputstream when calling query method
 void newQuery(java.lang.String className, java.lang.String driverPath)
          Make ready the custom connection instance which is able to retrieve an inputstream when calling query method, probablely with urlList(class path)
 void setAppConext(java.util.Map appConext)
           
 void setConnectionProperties(java.util.Map connectionProperties)
           
 void setParameterValues(java.util.Map parameterValues)
           
 void setQueryProperties(java.util.Map queryProperties)
           
 void setQueryText(java.lang.String queryText)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java2SOAPManager

public Java2SOAPManager()
Method Detail

newQuery

public void newQuery(java.lang.String className)
              throws java.lang.SecurityException,
                     java.lang.NoSuchMethodException,
                     java.lang.IllegalArgumentException,
                     java.lang.IllegalAccessException,
                     java.lang.reflect.InvocationTargetException,
                     java.lang.ClassNotFoundException,
                     java.lang.InstantiationException,
                     OdaException,
                     java.io.IOException,
                     java.net.URISyntaxException
Make ready the custom connection instance which is able to retrieve an inputstream when calling query method

Parameters:
className -
Throws:
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
java.lang.InstantiationException
OdaException
java.io.IOException
java.net.URISyntaxException

newQuery

public void newQuery(java.lang.String className,
                     java.lang.String driverPath)
              throws java.lang.SecurityException,
                     java.lang.NoSuchMethodException,
                     java.lang.IllegalArgumentException,
                     java.lang.IllegalAccessException,
                     java.lang.reflect.InvocationTargetException,
                     java.lang.ClassNotFoundException,
                     java.lang.InstantiationException,
                     OdaException,
                     java.io.IOException,
                     java.net.URISyntaxException
Make ready the custom connection instance which is able to retrieve an inputstream when calling query method, probablely with urlList(class path)

Parameters:
className -
urlList -
Throws:
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
java.lang.InstantiationException
OdaException
java.io.IOException
java.net.URISyntaxException

executeQuery

public java.lang.Object executeQuery()
                              throws java.lang.IllegalArgumentException,
                                     java.lang.IllegalAccessException,
                                     java.lang.reflect.InvocationTargetException,
                                     java.lang.SecurityException,
                                     java.lang.NoSuchMethodException
newQuery is expected to be called already

Returns:
InputStream
Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.SecurityException
java.lang.NoSuchMethodException

close

public void close()
           throws java.lang.IllegalArgumentException,
                  java.lang.IllegalAccessException,
                  java.lang.reflect.InvocationTargetException
Throws:
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.IllegalArgumentException
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

getAppConext

public java.util.Map getAppConext()
Returns:

setAppConext

public void setAppConext(java.util.Map appConext)
Parameters:
appConext -

setConnectionProperties

public void setConnectionProperties(java.util.Map connectionProperties)
Parameters:
connectionProperties -

setParameterValues

public void setParameterValues(java.util.Map parameterValues)
Parameters:
parameterValues -

setQueryProperties

public void setQueryProperties(java.util.Map queryProperties)
Parameters:
queryProperties -

setQueryText

public void setQueryText(java.lang.String queryText)
Parameters:
queryText -