Class SDODataFactoryDelegator

  • All Implemented Interfaces:
    commonj.sdo.helper.DataFactory, SDODataFactory

    public class SDODataFactoryDelegator
    extends AbstractHelperDelegator
    implements SDODataFactory

    Purpose: Helper to provide access to SDO Data Factory.

    Responsibilities:

    • Finds the appropriate SDODataFactoryDelegate for the classLoader/application name and delegates work to it
    • Create DataObjects for given uri/typename pairs, interface class or type
    • Constructor Detail

      • SDODataFactoryDelegator

        public SDODataFactoryDelegator()
      • SDODataFactoryDelegator

        public SDODataFactoryDelegator​(commonj.sdo.helper.HelperContext aContext)
    • Method Detail

      • create

        public commonj.sdo.DataObject create​(String uri,
                                             String typeName)
        Specified by:
        create in interface commonj.sdo.helper.DataFactory
      • create

        public commonj.sdo.DataObject create​(Class interfaceClass)
        Specified by:
        create in interface commonj.sdo.helper.DataFactory
      • create

        public commonj.sdo.DataObject create​(commonj.sdo.Type type)
        Specified by:
        create in interface commonj.sdo.helper.DataFactory