|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.connectivity.drivers.DriverInstance
Collection of Driver properties
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. |
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()
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DriverInstance(IPropertySet instance)
instance
- An instance of an IPropertySet objectpublic DriverInstance(TemplateDescriptor template, IPropertySet instance)
template
- TemplateDescriptorinstance
- IPropertySetMethod 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.Exception
public boolean equals(java.lang.Object obj)
public int hashCode()
public void handleException(java.lang.Throwable exception, java.lang.String message)
exception
- message
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |