|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataSource
A factory for connections to the physical data source that this
DataSource represents. An object that implements the DataSource
interface will typically be registered with a naming service based on the
JavaTM Naming and Directory (JNDI) API.
| Method Summary | |
|---|---|
Connection |
getConnection()
Creates new connection with default values. |
Connection |
getConnection(String user,
String pass)
Creates a new connection with specified user name and password. |
Map<Object,Object> |
getMetaData()
Retrieves the meta-data properties used to create this DataSource. |
boolean |
isShutdown()
Verifies whether the server instance is shutdown. |
void |
shutdown()
Sends a signal to the server for shutdown. |
| Methods inherited from interface com.ontotext.ordi.Wrapper |
|---|
isWrapperFor, unwrap |
| Methods inherited from interface com.ontotext.ordi.WarningAware |
|---|
clearWarnings, getWarning |
| Method Detail |
|---|
Map<Object,Object> getMetaData()
DataSource.
Connection getConnection()
throws ORDIException
ORDIException
Connection getConnection(String user,
String pass)
throws ORDIException
user - name to be used.pass - of the specified user.
ORDIExceptionvoid shutdown()
boolean isShutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||