public class

NotSupportedRecordFactory

extends Object
java.lang.Object
   ↳ org.springframework.jca.cci.connection.NotSupportedRecordFactory

Class Overview

Implementation of the CCI RecordFactory interface that always throws NotSupportedException.

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.

See Also
  • org.springframework.jca.cci.core.RecordCreator#createRecord(javax.resource.cci.RecordFactory)
  • org.springframework.jca.cci.core.CciTemplate#getRecordFactory(javax.resource.cci.ConnectionFactory)
  • javax.resource.cci.ConnectionFactory#getRecordFactory()
  • javax.resource.NotSupportedException

Summary

Public Constructors
NotSupportedRecordFactory()
Public Methods
IndexedRecord createIndexedRecord(String name)
MappedRecord createMappedRecord(String name)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public NotSupportedRecordFactory ()

Public Methods

public IndexedRecord createIndexedRecord (String name)

Throws
ResourceException

public MappedRecord createMappedRecord (String name)

Throws
ResourceException