Name

RecordFactory

Synopsis

A RecordFactory is used to create vendor-specific implementations of IndexedRecords and MappedRecords. The vendor implementation of the CCI should provide an implementation of RecordFactory for this purpose.

public interface RecordFactory {
// Public Instance Methods
   public abstract IndexedRecord createIndexedRecord(
        String recordName) throws ResourceException;  
   public abstract MappedRecord createMappedRecord(
        String recordName) throws ResourceException;  
}

Returned By

javax.resource.cci.ConnectionFactory.getRecordFactory()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.