javax.resource.cci
Interface RecordFactory


public interface RecordFactory

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


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

Method Detail

createMappedRecord

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

Throws:
ResourceException

createIndexedRecord

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

Throws:
ResourceException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.