|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DBBinXMLMetadataProvider
The interface implements the BinXMLMetadataProvider interface. This interface defines interfaces to implement Oracle Database 11g as the backend metadata provider for a BinXMLProcessor. It defines APIs to establish a connection with the Oracle DB.
Method Summary | |
---|---|
void |
associateDataConnection(java.sql.Connection dataconn) Associates a data connection with DBBinXMLMetadataProvider. |
void |
setConnection(java.sql.Connection metadataconn) Sets connection to be used by DBBinXMLMetaDataProvider |
void |
setConnectionPool(oracle.jdbc.pool.OracleDataSource connpool) Sets connection pool to be used by DBBinXMLMetadataProvider |
void |
setConnStr(java.lang.String connstr, java.lang.String usr, java.lang.String passwd) Used for setting up thin connection. |
void |
setDriver(java.sql.Driver driver) Specify database driver to be used by DBBinXMLMetadataProvider |
void |
setURL(java.net.URL http, java.lang.String usrname, java.lang.String passwd) Used for setting up OCI connection |
Methods inherited from interface oracle.xml.binxml.BinXMLMetadataProvider |
---|
getCompiledSchema, getCompiledSchema, getDTD, getDTD, getTokenSet, getTokenSet, getTokenSet, isSchemaAnnotationAvailable, saveCompiledSchema, saveDTD, saveSchema, saveTokenSet |
Method Detail |
---|
void setConnection(java.sql.Connection metadataconn) throws BinXMLException, java.sql.SQLException
metadataconn
- This connection is used to store and retrieve metadata by a DBBinXMLMetadataProvider. If the associateDataConnection method is not called, this connection will also be used to store and retrieve binary data from the database.java.sql.SQLException
- Raised for any SQL related errorsBinXMLException
- Raised for any non-SQL related errorsvoid setConnectionPool(oracle.jdbc.pool.OracleDataSource connpool) throws BinXMLException, java.sql.SQLException
connpool
- OracleDataSource for metadata retrievaljava.sql.SQLException
- Raised for any SQL related errorsBinXMLException
- Raised for any non-SQL related errorsvoid setDriver(java.sql.Driver driver) throws BinXMLException
driver
- user specified driverBinXMLException
- Raised for any errors encounteredvoid setURL(java.net.URL http, java.lang.String usrname, java.lang.String passwd) throws BinXMLException, java.sql.SQLException
http
- URL for connectionjava.sql.SQLException
- Raised for any SQL related errorsBinXMLException
- Raised for any non-SQL related errorsvoid setConnStr(java.lang.String connstr, java.lang.String usr, java.lang.String passwd) throws BinXMLException, java.sql.SQLException
connstr
- connection stringjava.sql.SQLException
- Raised for any SQL related errorsBinXMLException
- Raised for any non-SQL related errorsvoid associateDataConnection(java.sql.Connection dataconn) throws BinXMLException
dataconn
- JDBC connection used for storage and retrieval of Binary XML data.BinXMLException
- Raised for any errors encountered
|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |