| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.connectivity.drivers.DriverInstance
public class DriverInstance
Collection of Driver properties
| Field Summary | |
|---|---|
| static java.lang.String | ATTR_CLASS | 
| static java.lang.String | ATTR_DRIVERTEMPLATEID | 
| static java.lang.String | ELEM_MIGRATION | 
| Constructor Summary | |
|---|---|
| DriverInstance(IPropertySet instance)Basic constructor. | |
| DriverInstance(TemplateDescriptor template,
               IPropertySet instance)Constructor to pass an explicit template along with the property set. | |
| Method Summary | |
|---|---|
|  java.lang.ClassLoader | createClassLoader(java.lang.ClassLoader parentCL)Creates a ClassLoader for the Driver Instance and loads the files from the jar list. | 
|  boolean | equals(java.lang.Object obj) | 
|  java.lang.ClassLoader | getClassLoader()Returns a default class loader (no parent) and loads the files from the jar list. | 
|  java.lang.String | getId()Return the id of the Driver instance | 
|  java.lang.String | getJarList()Return the jar list for the driver instance as a comma-delimited string. | 
|  java.lang.String[] | getJarListAsArray()Return the jar list for the driver instance as an array. | 
|  IDriverMigrator | getMigrator(org.eclipse.core.runtime.IConfigurationElement element)Retrieves the migrator for the incoming configuration element. | 
|  java.lang.String | getName()Return the name of the Driver instance | 
|  java.lang.String | getNamedProperty(java.lang.String name)Retrieve a property value by name. | 
|  java.lang.String | getNamedPropertyByID(java.lang.String id)Retrieve a property value by property id | 
|  java.lang.String | getProperty(java.lang.String id)Retrieve a property value by property id. | 
|  IPropertySet | getPropertySet()Returns the actual property set for the driver instance. | 
|  TemplateDescriptor | getTemplate()Get the Template the Driver Instance was based on. | 
|  void | handleException(java.lang.Throwable exception,
                java.lang.String message)Logs an exception | 
|  int | hashCode() | 
|  boolean | migrate() | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String ELEM_MIGRATION
public static final java.lang.String ATTR_CLASS
public static final java.lang.String ATTR_DRIVERTEMPLATEID
| Constructor Detail | 
|---|
public DriverInstance(IPropertySet instance)
instance - An instance of an IPropertySet object
public DriverInstance(TemplateDescriptor template,
                      IPropertySet instance)
template - TemplateDescriptorinstance - IPropertySet| Method Detail | 
|---|
public java.lang.String getName()
public java.lang.String getId()
public java.lang.String getJarList()
public java.lang.String[] getJarListAsArray()
public java.lang.String getNamedProperty(java.lang.String name)
name - Property name
public java.lang.String getNamedPropertyByID(java.lang.String id)
id - Property id
public java.lang.String getProperty(java.lang.String id)
id - Property ID
public TemplateDescriptor getTemplate()
public IPropertySet getPropertySet()
public java.lang.ClassLoader getClassLoader()
                                     throws java.lang.Exception
java.lang.Exception
public java.lang.ClassLoader createClassLoader(java.lang.ClassLoader parentCL)
                                        throws java.lang.Exception
parentCL - ClassLoader parent
java.lang.Exceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
public void handleException(java.lang.Throwable exception,
                            java.lang.String message)
exception - message - public boolean migrate()
public IDriverMigrator getMigrator(org.eclipse.core.runtime.IConfigurationElement element)
element - 
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||