com.ibm.websphere.sdo.mediator.jdbc

Interface JDBCMediatorFactory



  • public interface JDBCMediatorFactory
    A JDBCMediatorFactory is used to create JDBCMediator instances
    • Field Detail

      • soleInstance

        static final JDBCMediatorFactory soleInstance
        The singleton instance of the JDBCMediatorFactory
    • Method Detail

      • 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:
        InvalidMetadataException
        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:
        InvalidMetadataException
      • 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:
        InvalidMetadataException
        java.io.IOException
      • 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:
        InvalidMetadataException
        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
IBM WebSphere Application ServerTM
Release 8.5