public class NotSupportedRecordFactory extends 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(String name) |
MappedRecord |
createMappedRecord(String name) |
public MappedRecord createMappedRecord(String name) throws ResourceException
createMappedRecord
in interface RecordFactory
ResourceException
public IndexedRecord createIndexedRecord(String name) throws ResourceException
createIndexedRecord
in interface RecordFactory
ResourceException