public class WmRecordFactory
extends java.lang.Object
implements javax.resource.cci.RecordFactory
WmRecord
objects. Adapter
writers should use this class as the sole means of creating a new
WmRecord
instance.WmRecord
Modifier and Type | Field and Description |
---|---|
protected static WmRecordFactory |
_factoryInstance
Single instance of the WmRecordFactory
|
Constructor and Description |
---|
WmRecordFactory()
Default Constructor to create
WmRecordFactory . |
Modifier and Type | Method and Description |
---|---|
javax.resource.cci.IndexedRecord |
createIndexedRecord(java.lang.String name)
Returns an
IndexedRecord . |
javax.resource.cci.MappedRecord |
createMappedRecord(java.lang.String name)
Returns a
WmRecord instance that implements MappedRecord . |
WmRecord |
createWmRecord(java.lang.String name)
Returns a new
WmRecord object. |
static WmRecordFactory |
getFactory()
Obtains a singleton instance of this factory class that adapter writers use to create
WmRecord objects. |
protected static WmRecordFactory _factoryInstance
public WmRecordFactory()
WmRecordFactory
.public javax.resource.cci.IndexedRecord createIndexedRecord(java.lang.String name)
IndexedRecord
.
This method is currently not implemented.createIndexedRecord
in interface javax.resource.cci.RecordFactory
java.lang.UnsupportedOperationException
- This method is not implemented.public javax.resource.cci.MappedRecord createMappedRecord(java.lang.String name)
WmRecord
instance that implements MappedRecord
.createMappedRecord
in interface javax.resource.cci.RecordFactory
name
- A name for the record instance. The name is not currently
used by WmART and can be null.WmRecord
instance.WmRecord
public WmRecord createWmRecord(java.lang.String name)
WmRecord
object.name
- A name for the record instance. The name is not currently
used by WmART and can be null.WmRecord
instance.WmRecord
public static WmRecordFactory getFactory()
WmRecord
objects.WmRecordFactory
object used to create a WmRecord.
Copyright © 2003 - 2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.