com.ibm.websphere.sdo.mediator.jdbc
Interface JDBCMediatorFactory
- public interface JDBCMediatorFactory
Field Summary
Modifier and Type | Field and Description |
---|---|
|
soleInstance
The singleton instance of the JDBCMediatorFactory
|
Method Summary
Modifier and Type | Method and Description |
---|---|
createMediator(java.io.InputStream metadata,ConnectionWrapper connectionWrapper)
Create a JDBCMediator instance based on the provide InputStream and connection
|
|
createMediator(java.io.InputStream metadata,org.eclipse.emf.ecore.EClass class1,ConnectionWrapper connectionWrapper)
Create a JDBCMediator instance with the supplied metadata, EMF schema, and ConnectionWrapper
|
|
createMediator(java.io.InputStream metadata,org.eclipse.emf.ecore.EClass suppliedSchema,java.lang.String suppliedQuery,ConnectionWrapper connectionWrapper)
Create a JDBCMediator instance based on the provided metadata, EMF schema, SQL query, and ConnectionWrapper
|
|
createMediator(java.io.InputStream metadata,java.lang.String suppliedQuery,ConnectionWrapper connectionWrapper)
Create a JDBCMediator instance based on the supplied metadata, SQL query, and ConnectionWrapper
|
|
createMediator(Metadata metadata)
Create a JDBCMediator instance without a connection.
|
|
createMediator(Metadata metadata,ConnectionWrapper connectionWrapper)
Create a JDBCMediator instance based on the provided metadata and
connection
|
|
createMediator(Metadata metadata,org.eclipse.emf.ecore.EClass class1,ConnectionWrapper connectionWrapper)
Create a JDBCMediator instance with the supplied metadata, EMF schema, and ConnectionWrapper
|
|
createMediator(Metadata metadata,org.eclipse.emf.ecore.EClass suppliedSchema,java.lang.String suppliedQuery,ConnectionWrapper connectionWrapper)
Create a JDBCMediator instance based on the provided metadata, EMF schema, SQL query, and ConnectionWrapper
|
|
createMediator(Metadata metadata,java.lang.String suppliedQuery,ConnectionWrapper connectionWrapper)
Create a JDBCMediator instance based on the supplied metadata, SQL query, and ConnectionWrapper
|
|
getMetadataFromStream(java.io.InputStream stream)
Return a Metadata instance based on the supplied InputStream
|
Field Detail
soleInstance
- static final JDBCMediatorFactory soleInstance
The singleton instance of the JDBCMediatorFactory
Method Detail
createMediator
- JDBCMediator createMediator(Metadata metadata,
- ConnectionWrapper connectionWrapper)
- throws InvalidMetadataException
Create a JDBCMediator instance based on the provided metadata and
connection
Parameters:
metadata
- connectionWrapper
- Returns:
the JDBCMediator
Throws:
createMediator
- JDBCMediator createMediator(java.io.InputStream metadata,
- ConnectionWrapper connectionWrapper)
- throws InvalidMetadataException
- java.io.IOException
Create a JDBCMediator instance based on the provide InputStream and connection
Parameters:
metadata
- connectionWrapper
- Returns:
the JDBCMediator
Throws:
java.io.IOException
createMediator
- JDBCMediator createMediator(Metadata metadata)
- throws InvalidMetadataException
Create a JDBCMediator instance without a connection. The instance created will
throw exceptions if any services are attempted that require the connection
createMediator
- JDBCMediator createMediator(Metadata metadata,
- org.eclipse.emf.ecore.EClass class1,
- ConnectionWrapper connectionWrapper)
- throws InvalidMetadataException
Create a JDBCMediator instance with the supplied metadata, EMF schema, and ConnectionWrapper
Parameters:
metadata
- class1
- connectionWrapper
- Returns:
the JDBCMediator
Throws:
createMediator
- JDBCMediator createMediator(java.io.InputStream metadata,
- org.eclipse.emf.ecore.EClass class1,
- ConnectionWrapper connectionWrapper)
- throws InvalidMetadataException
- java.io.IOException
Create a JDBCMediator instance with the supplied metadata, EMF schema, and ConnectionWrapper
Parameters:
metadata
- class1
- connectionWrapper
- Returns:
the JDBCMediator
Throws:
java.io.IOException
createMediator
- JDBCMediator createMediator(Metadata metadata,
- org.eclipse.emf.ecore.EClass suppliedSchema,
- java.lang.String suppliedQuery,
- ConnectionWrapper connectionWrapper)
- throws InvalidMetadataException
Create a JDBCMediator instance based on the provided metadata, EMF schema, SQL query, and ConnectionWrapper
Parameters:
metadata
- suppliedSchema
- suppliedQuery
- connectionWrapper
- Returns:
the JDBCMediator
Throws:
createMediator
- JDBCMediator createMediator(java.io.InputStream metadata,
- org.eclipse.emf.ecore.EClass suppliedSchema,
- java.lang.String suppliedQuery,
- ConnectionWrapper connectionWrapper)
- throws InvalidMetadataException
- java.io.IOException
Create a JDBCMediator instance based on the provided metadata, EMF schema, SQL query, and ConnectionWrapper
Parameters:
metadata
- suppliedSchema
- suppliedQuery
- connectionWrapper
- Returns:
the JDBCMediator
Throws:
java.io.IOException
createMediator
- JDBCMediator createMediator(Metadata metadata,
- java.lang.String suppliedQuery,
- ConnectionWrapper connectionWrapper)
- throws InvalidMetadataException
Create a JDBCMediator instance based on the supplied metadata, SQL query, and ConnectionWrapper
Parameters:
metadata
- suppliedQuery
- connectionWrapper
- Returns:
the JDBCMediator
Throws:
createMediator
- JDBCMediator createMediator(java.io.InputStream metadata,
- java.lang.String suppliedQuery,
- ConnectionWrapper connectionWrapper)
- throws InvalidMetadataException
- java.io.IOException
Create a JDBCMediator instance based on the supplied metadata, SQL query, and ConnectionWrapper
Parameters:
metadata
- suppliedQuery
- connectionWrapper
- Returns:
the JDBCMediator
Throws:
java.io.IOException
getMetadataFromStream
- Metadata getMetadataFromStream( java.io.InputStream stream)
- throws java.io.IOException
Return a Metadata instance based on the supplied InputStream
Parameters:
stream
- Returns:
the Metadata instance
Throws:
java.io.IOException