com.ibm.websphere.sdo.mediator.jdbc

Interface JDBCMediatorFactory


  1. public interface JDBCMediatorFactory
A JDBCMediatorFactory is used to create JDBCMediator instances

Field Summary

Modifier and Type Field and Description
  1. static
  2. JDBCMediatorFactory
soleInstance
The singleton instance of the JDBCMediatorFactory

Method Summary

Modifier and Type Method and Description
  1. JDBCMediator
createMediator(java.io.InputStream metadata,ConnectionWrapper connectionWrapper)
Create a JDBCMediator instance based on the provide InputStream and connection
  1. JDBCMediator
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
  1. JDBCMediator
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
  1. JDBCMediator
createMediator(java.io.InputStream metadata,java.lang.String suppliedQuery,ConnectionWrapper connectionWrapper)
Create a JDBCMediator instance based on the supplied metadata, SQL query, and ConnectionWrapper
  1. JDBCMediator
createMediator(Metadata metadata)
Create a JDBCMediator instance without a connection.
  1. JDBCMediator
createMediator(Metadata metadata,ConnectionWrapper connectionWrapper)
Create a JDBCMediator instance based on the provided metadata and connection
  1. JDBCMediator
createMediator(Metadata metadata,org.eclipse.emf.ecore.EClass class1,ConnectionWrapper connectionWrapper)
Create a JDBCMediator instance with the supplied metadata, EMF schema, and ConnectionWrapper
  1. JDBCMediator
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
  1. JDBCMediator
createMediator(Metadata metadata,java.lang.String suppliedQuery,ConnectionWrapper connectionWrapper)
Create a JDBCMediator instance based on the supplied metadata, SQL query, and ConnectionWrapper
  1. Metadata
getMetadataFromStream(java.io.InputStream stream)
Return a Metadata instance based on the supplied InputStream

Field Detail

soleInstance

  1. static final JDBCMediatorFactory soleInstance
The singleton instance of the JDBCMediatorFactory

Method Detail

createMediator

  1. JDBCMediator createMediator(Metadata metadata,
  2. ConnectionWrapper connectionWrapper)
  3. throws InvalidMetadataException
Create a JDBCMediator instance based on the provided metadata and connection
Parameters:
metadata -
connectionWrapper -
Returns:
the JDBCMediator
Throws:

createMediator

  1. JDBCMediator createMediator(java.io.InputStream metadata,
  2. ConnectionWrapper connectionWrapper)
  3. throws InvalidMetadataException
  4. 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

  1. JDBCMediator createMediator(Metadata metadata)
  2. throws InvalidMetadataException
Create a JDBCMediator instance without a connection. The instance created will throw exceptions if any services are attempted that require the connection
Parameters:
metadata -
Returns:
the JDBCMediator
Throws:

createMediator

  1. JDBCMediator createMediator(Metadata metadata,
  2. org.eclipse.emf.ecore.EClass class1,
  3. ConnectionWrapper connectionWrapper)
  4. throws InvalidMetadataException
Create a JDBCMediator instance with the supplied metadata, EMF schema, and ConnectionWrapper
Parameters:
metadata -
class1 -
connectionWrapper -
Returns:
the JDBCMediator
Throws:

createMediator

  1. JDBCMediator createMediator(java.io.InputStream metadata,
  2. org.eclipse.emf.ecore.EClass class1,
  3. ConnectionWrapper connectionWrapper)
  4. throws InvalidMetadataException
  5. 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

  1. JDBCMediator createMediator(Metadata metadata,
  2. org.eclipse.emf.ecore.EClass suppliedSchema,
  3. java.lang.String suppliedQuery,
  4. ConnectionWrapper connectionWrapper)
  5. 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

  1. JDBCMediator createMediator(java.io.InputStream metadata,
  2. org.eclipse.emf.ecore.EClass suppliedSchema,
  3. java.lang.String suppliedQuery,
  4. ConnectionWrapper connectionWrapper)
  5. throws InvalidMetadataException
  6. 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

  1. JDBCMediator createMediator(Metadata metadata,
  2. java.lang.String suppliedQuery,
  3. ConnectionWrapper connectionWrapper)
  4. throws InvalidMetadataException
Create a JDBCMediator instance based on the supplied metadata, SQL query, and ConnectionWrapper
Parameters:
metadata -
suppliedQuery -
connectionWrapper -
Returns:
the JDBCMediator
Throws:

createMediator

  1. JDBCMediator createMediator(java.io.InputStream metadata,
  2. java.lang.String suppliedQuery,
  3. ConnectionWrapper connectionWrapper)
  4. throws InvalidMetadataException
  5. 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

  1. Metadata getMetadataFromStream( java.io.InputStream stream)
  2. throws java.io.IOException
Return a Metadata instance based on the supplied InputStream
Parameters:
stream -
Returns:
the Metadata instance
Throws:
java.io.IOException