public class NotSupportedRecordFactory extends Object implements javax.resource.cci.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 |
|---|---|
javax.resource.cci.IndexedRecord |
createIndexedRecord(String name) |
javax.resource.cci.MappedRecord |
createMappedRecord(String name) |
public javax.resource.cci.MappedRecord createMappedRecord(String name) throws javax.resource.ResourceException
createMappedRecord in interface javax.resource.cci.RecordFactoryjavax.resource.ResourceExceptionpublic javax.resource.cci.IndexedRecord createIndexedRecord(String name) throws javax.resource.ResourceException
createIndexedRecord in interface javax.resource.cci.RecordFactoryjavax.resource.ResourceExceptionCopyright © 2015. All rights reserved.