| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.connectivity.oda.util.manifest.RuntimeInterface
org.eclipse.datatools.connectivity.oda.util.manifest.JavaRuntimeInterface
public class JavaRuntimeInterface
This class encapsulates the Java runtime interface specific configurations.
| Field Summary | 
|---|
| Fields inherited from class org.eclipse.datatools.connectivity.oda.util.manifest.RuntimeInterface | 
|---|
| C_TYPE, JAVA_TYPE | 
| Method Summary | |
|---|---|
|  java.lang.String | getDriverClass()Returns the fully qualified concrete class that implements the org.eclipse.datatools.connectivity.oda.IDriver interface. | 
|  java.net.URL | getDriverFileLocation(java.lang.String filename)Returns the driver file location for the current OS platform. | 
|  int | getInterfaceType()Returns the interface type of the runtime. | 
|  java.lang.String[] | getLibraries()Returns the list of libraries for the current OS platform. | 
|  java.net.URL | getLibraryLocation()Returns the library location for the current OS platform. | 
|  boolean | needSetThreadContextClassLoader()If true, the consumer of the ODA runtime extension plugin should set the thread context class loader to the class loader used to load this driver before calling any ODA interface method. | 
|  void | setLoadedClassLocation(java.lang.Class<?> driverClass,
                       java.lang.Object appContext)EXPERIMENTAL Set the location of the ODA runtime extension bundle that contains the specified driver class. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public int getInterfaceType()
RuntimeInterface
getInterfaceType in class RuntimeInterfacepublic java.lang.String getDriverClass()
public boolean needSetThreadContextClassLoader()
public java.net.URL getLibraryLocation()
                                throws java.io.IOException
RuntimeInterface
getLibraryLocation in class RuntimeInterfacejava.io.IOException - if an IO error occurs.RuntimeInterface.getLibraryLocation()
public java.net.URL getDriverFileLocation(java.lang.String filename)
                                   throws java.io.IOException
RuntimeInterface
getDriverFileLocation in class RuntimeInterfacefilename - the name of the driver file.
java.io.IOException - if an IO error occurs.RuntimeInterface.getDriverFileLocation(java.lang.String)public java.lang.String[] getLibraries()
RuntimeInterface
getLibraries in class RuntimeInterfaceRuntimeInterface.getLibraries()
public void setLoadedClassLocation(java.lang.Class<?> driverClass,
                                   java.lang.Object appContext)
driverClass - the class of an ODA extension that implements the 
             IDriver interfaceappContext - an application context Map that might contain a ResourceIdentifiers,
             set by an ODA consumer application, to resolve the bundle location; 
             optional, may be null| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||