public class NotSupportedRecordFactory extends java.lang.Object implements RecordFactory
Useful as a placeholder for a RecordFactory argument (for example as
defined by the RecordCreator callback), in particular when the connector's
ConnectionFactory.getRecordFactory() implementation happens to
throw NotSupportedException early rather than throwing the exception from
RecordFactory's methods.
RecordCreator.createRecord(javax.resource.cci.RecordFactory),
CciTemplate.getRecordFactory(javax.resource.cci.ConnectionFactory),
ConnectionFactory.getRecordFactory(),
NotSupportedException| Constructor and Description |
|---|
NotSupportedRecordFactory() |
| Modifier and Type | Method and Description |
|---|---|
IndexedRecord |
createIndexedRecord(java.lang.String name) |
MappedRecord |
createMappedRecord(java.lang.String name) |
public MappedRecord createMappedRecord(java.lang.String name) throws ResourceException
createMappedRecord in interface RecordFactoryResourceExceptionpublic IndexedRecord createIndexedRecord(java.lang.String name) throws ResourceException
createIndexedRecord in interface RecordFactoryResourceException