| 
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RecordFactory
The RecordFactory interface is used for creating MappedRecord and IndexedRecord instances. Note that the RecordFactory is only used for creation of generic record instances. A CCI implementation provides an implementation class for the RecordFactory interface.
IndexedRecord, 
MappedRecord| Method Summary | |
|---|---|
 IndexedRecord | 
createIndexedRecord(String recordName)
Creates a IndexedRecord.  | 
 MappedRecord | 
createMappedRecord(String recordName)
Creates a MappedRecord.  | 
| Method Detail | 
|---|
MappedRecord createMappedRecord(String recordName)
                                throws ResourceException
recordName - Name of the Record
ResourceException - Failed to create a MappedRecord.
                             Example error cases are:
                              
          NotSupportedException - Operation not supported
IndexedRecord createIndexedRecord(String recordName)
                                  throws ResourceException
recordName - Name of the Record
ResourceException - Failed to create an IndexedRecord.
                             Example error cases are:
                              
          NotSupportedException - Operation not supported
  | 
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.