org.eclipse.persistence.sdo.helper.delegates
Class SDODataFactoryDelegator
java.lang.Object
org.eclipse.persistence.sdo.helper.delegates.AbstractHelperDelegator
org.eclipse.persistence.sdo.helper.delegates.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
Fields inherited from interface commonj.sdo.helper.DataFactory |
INSTANCE |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SDODataFactoryDelegator
public SDODataFactoryDelegator()
SDODataFactoryDelegator
public SDODataFactoryDelegator(commonj.sdo.helper.HelperContext aContext)
create
public commonj.sdo.DataObject create(java.lang.String uri,
java.lang.String typeName)
- Specified by:
create
in interface commonj.sdo.helper.DataFactory
create
public commonj.sdo.DataObject create(java.lang.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
getDataFactoryDelegate
public SDODataFactoryDelegate getDataFactoryDelegate()