javax.resource.cci
Interface RecordFactory


public interface RecordFactory

The RecordFactory interface is used for creating MappedRecord and IndexedRecord instances.


Method Summary
 IndexedRecord (src) createIndexedRecord(java.lang.String recordName)
          Creates a IndexedRecord with the specified name.
 MappedRecord (src) createMappedRecord(java.lang.String recordName)
          Creates a MappedRecord with the specified name.
 

Method Detail

createMappedRecord

public MappedRecord (src)  createMappedRecord(java.lang.String recordName)
                                throws ResourceException (src) 
Creates a MappedRecord with the specified name. The name is used as a key into the MetaData.

Throws:
ResourceException (src)

createIndexedRecord

public IndexedRecord (src)  createIndexedRecord(java.lang.String recordName)
                                  throws ResourceException (src) 
Creates a IndexedRecord with the specified name. The name is used as a key into the MetaData.

Throws:
ResourceException (src)